Trainer data structure (Generation II): Difference between revisions

m
link/misc
mNo edit summary
m (link/misc)
Line 39: Line 39:


====Name====
====Name====
This is a string going anywhere from 2 to 8 bytes, containing the Trainer's name and ending in a 0x50 terminator.
This is a [[Character encoding in Generation II|string]] going anywhere from 2 to 8 bytes, containing the Trainer's name and ending in a 0x50 terminator. The rival's name is represented by a single byte - 0xE6.
The rival's name is represented by a single byte - 0xe6.


====Custom move marker====
====Custom move marker====
Line 49: Line 48:


====Terminator====
====Terminator====
This is a single byte (0xff) which tells the processor to stop reading data.
This is a single byte (0xFF) which tells the processor to stop reading data.


{{Stub|Game}}
{{Stub|Game}}
{{data structure}}<br>
{{data structure}}<br>
{{Project Games notice|data structure}}
{{Project Games notice|data structure}}