.g, the picture the game draws in battle
Specimen 0xEE · HYBRID

.g, glitch Pokemon index EE (238) of Pokemon Red and Blue

BUG / GLITCH TYPE 0xC8 · index 238

A period and a lowercase g, the readable leftovers of a name full of box pieces. It sounds like a file extension. It behaves like two different specimens stitched together.

The body is E4's, base Special 254, a hundred above Mewtwo, on 14 HP and a base Attack of 0, with its picture unpacked from work RAM. But its evolution pointer is $280E, exactly the one OPkMn4X uses, so it carries that specimen's whole set of lists: a Moon Stone entry at level 6 that leads to Gengar, and a level 9 entry that turns it into Spearow.

The Moon Stone itself never works, since 31 unreadable entries come first, but the after-battle check compares item entries with a byte that doubles as a species number, and in the game's own code that check fires. The learnset is OPkMn4X's punches: Comet Punch at 8, Mega Punch at 9, Fire Punch at 11 and Karate Chop at 12. A Special sweeper's body, with a boxer's moves.

.g, the picture the game draws in battle
In battle, in the game
Super Game Boy, in battlethe same in Red and Blue

BUG GLITCH TYPE 0xC8

The bytes

WhatWhere in the ROMValue
Index numberslot 238 of the species table0xEE (238)
Pokedex byte0x41111175 (past the 151 real species, so no species’ stats are borrowed)
Stats entry0x396E6C3 0E 00 0C 79 FE 07 C8 16 00...
Size byteentry byte 100xC5 = 5 wide, 12 tall (the sprite buffer is 7x7)
Name bytes0x1CB60CD 6D 3E 21 2E D7 CB A6 3E 01
Catch rateentry byte 822

Front sprite pointer 0xCDE5 points into work RAM, so the picture depends on memory: the decompressor unpacks whatever those bytes hold when the picture is loaded. By the disassembly's own labels that address is 100 bytes into wSerialOtherGameboyRandomNumberListBlock, a variable the game rewrites as it plays, not a picture. The image above is what the game drew in the Glitch Lab's standard battle, and filling cartridge RAM with other values changed it. With other bytes there it draws something else.

Byte for byte identical in Blue, except for its front picture. The bytes the picture runs through are not all the same in Blue, so Blue draws it with different static.

Base stats

HP
14
Attack
0
Defense
12
Speed
121
Special
254
Total
401

Moves

Knows from the start: WRAP, AURORA BEAM, FIRE PUNCH, SKULL BASH.

Learnset (read straight from its pointer)

47 entries, in the order the game reads them. 26 of them are filed past level 100, so they never arrive.

LevelMove
L8COMET PUNCH
L12KARATE CHOP
L10PAY DAY
L14POUND
L9MEGA PUNCH
L13DOUBLESLAP
L11FIRE PUNCH
L15GLITCH MOVE 0xCD
L65POISON STING
L250GLITCH MOVE 0xAA
Show all 47 entries
#LevelMove
1L8COMET PUNCH
2L12KARATE CHOP
3L10PAY DAY
4L14POUND
5L9MEGA PUNCH
6L13DOUBLESLAP
7L11FIRE PUNCH
8L15GLITCH MOVE 0xCD
9L65POISON STING
10L250GLITCH MOVE 0xAA
11L208GLITCH MOVE 0xF5
12L175GLITCH MOVE 0xEA
13L170GLITCH MOVE 0xD0
14L250GLITCH MOVE 0xAF
15L208DEFENSE CURL
16L250GLITCH MOVE 0xB0
17L208SCREECH
18L205GLITCH MOVE 0xD4
19L38GLITCH MOVE 0xCD
20L65POISON STING
21L241GLITCH MOVE 0xEA
22L170GLITCH MOVE 0xD0
23L195GLITCH MOVE 0xC7
24L39BONE CLUB
25L234GLITCH MOVE 0xAD
26L208GLITCH MOVE 0xEA
27L175GLITCH MOVE 0xD0
28L124GLITCH MOVE 0xEA
29L174GLITCH MOVE 0xD0
30L234GLITCH MOVE 0xB0
31L208GLITCH MOVE 0xC9
32L33GLITCH MOVE 0x00
33L193GLITCH MOVE 0xCD
34L196POISON STING
35L33GLITCH MOVE 0x00
36L194GLITCH MOVE 0xCD
37L196POISON STING
38L62POUND
39L234GLITCH MOVE 0x00
40L193GLITCH MOVE 0xEA
41L14GLITCH MOVE 0xC2
42L33COMET PUNCH
43L193MIST
44L60WRAP
45L35MIST
46L64GLITCH MOVE 0xC9
47L1GUST

TM and HM compatibility (flag bits, entry bytes 20 to 26)

MachineMove
TM01MEGA PUNCH
TM03SWORDS DANCE
TM04WHIRLWIND
TM14BLIZZARD
TM17SUBMISSION
TM19SEISMIC TOSS
TM21MEGA DRAIN
TM22SOLARBEAM
TM23DRAGON RAGE
TM24THUNDERBOLT
TM26EARTHQUAKE
TM27FISSURE
TM28DIG
TM35METRONOME
TM41SOFTBOILED
TM43SKY ATTACK
TM44REST
TM47EXPLOSION
TM48ROCK SLIDE
TM49TRI ATTACK
HM02FLY
HM03SURF
HM04STRENGTH

Evolutions

Its pointer, $280E in ROM bank 0, leads to 61 entries. The game only acts on method bytes 1 (level), 2 (item) and 3 (trade) and skips the other 59, so these are the ones it can read, in the order it reads them.

EntryBecomesCan it happen?
Moon Stone (item 0x0A), at level 6 or aboveGENGAR (0x0E)Not by using the stone. With a stone the game stops reading at the first entry that is not a stone or trade entry, and 31 unreadable entries come before this one. After a battle in which it gained a level, though, the game checks this entry against a byte it shares with a species number (wCurItem and wCurPartySpecies are the same byte), so if that byte happens to hold 0x0A and it is level 6 or above, it evolves into Gengar.
Level 9SPEAROW (0x05)Yes. The first level-up at 9 or above evolves it.

Hear its cry

Its base, 0x01, is one of the game's 38 real cries, played at this specimen's own pitch and length, so the button below rebuilds it live from those three bytes. It is not a recording.

base 0x01 pitch 0x14 length 0x00

Does it still work?

WhereStill works?
Original Game Boy cartridgeYes.
Game Boy Color / Super Game BoyYes. Red and Blue send their colors only to a Super Game Boy. In battle it wears palette 0x08, shown above; its status screen uses Rhydon's gray palette, as it does for every index past 190.
3DS Virtual Console (2016 re-release)Yes.
Later remakes (FireRed, Let's Go, and newer)No.

Why these answers hold, and how every number on this page was read from the ROM: how these pages are made.

Fight it yourself

In the real game you can never meet it in the wild: any encounter that asks for index 238 starts a battle against Koga instead.

Related specimens

Part of The Glitchhouse.