This table entry has the address of MoveDescriptions in GSC ($4000 in G/S, $4b52 in Crystal)

This commit is contained in:
Remy Oukaour 2018-01-19 00:42:31 -05:00
parent 9576740b70
commit c861ff5af3
2 changed files with 16 additions and 16 deletions

View File

@ -10,14 +10,14 @@ NAME_LENGTH_JAPANESE EQU 6
; GetName types (see home/names.asm)
const_value set 1
const PKMN_NAME ; 1
const MOVE_NAME ; 2
const DUMMY_NAME ; 3
const ITEM_NAME ; 4
const PARTY_OT_NAME ; 5
const ENEMY_OT_NAME ; 6
const TRAINER_NAME ; 7
const BROKEN_NAME ; 8
const PKMN_NAME ; 1
const MOVE_NAME ; 2
const DUMMY_NAME ; 3
const ITEM_NAME ; 4
const PARTY_OT_NAME ; 5
const ENEMY_OT_NAME ; 6
const TRAINER_NAME ; 7
const MOVE_DESC_NAME_BROKEN ; 8
; see home/text.asm
BORDER_WIDTH EQU 2

View File

@ -1,13 +1,13 @@
NamesPointers:: ; 33ab
; entries correspond to GetName constants (see constants/text_constants.asm)
dba PokemonNames ; PKMN_NAME (not used; jumps to GetPokemonName)
dba MoveNames ; MOVE_NAME
dbw 0, NULL ; DUMMY_NAME
dba ItemNames ; ITEM_NAME
dbw 0, PartyMonOT ; PARTY_OT_NAME
dbw 0, OTPartyMonOT ; ENEMY_OT_NAME
dba TrainerClassNames ; TRAINER_NAME
dbw $4, $4b52 ; BROKEN_NAME (within PackMenuGFX)
dba PokemonNames ; PKMN_NAME (not used; jumps to GetPokemonName)
dba MoveNames ; MOVE_NAME
dbw 0, NULL ; DUMMY_NAME
dba ItemNames ; ITEM_NAME
dbw 0, PartyMonOT ; PARTY_OT_NAME
dbw 0, OTPartyMonOT ; ENEMY_OT_NAME
dba TrainerClassNames ; TRAINER_NAME
dbw 4, MoveDescriptions ; MOVE_DESC_NAME_BROKEN (wrong bank)
; 33c3
GetName:: ; 33c3