mirror of
https://github.com/pret/pokered.git
synced 2026-04-25 15:57:04 -05:00
This introduces `def_script_pointers`, `def_text_pointers`, and `object_const_def` macros, and applies them to all maps. Most other map labels have also been identified.
23 lines
620 B
NASM
23 lines
620 B
NASM
CeladonMansionRoofHouse_Script:
|
|
jp EnableAutoTextBoxDrawing
|
|
|
|
CeladonMansionRoofHouse_TextPointers:
|
|
def_text_pointers
|
|
dw_const CeladonMansionRoofHouseHikerText, TEXT_CELADONMANSION_ROOF_HOUSE_HIKER
|
|
dw_const CeladonMansionRoofHouseEeveePokeballText, TEXT_CELADONMANSION_ROOF_HOUSE_EEVEE_POKEBALL
|
|
|
|
CeladonMansionRoofHouseHikerText:
|
|
text_far _CeladonMansionRoofHouseHikerText
|
|
text_end
|
|
|
|
CeladonMansionRoofHouseEeveePokeballText:
|
|
text_asm
|
|
lb bc, EEVEE, 25
|
|
call GivePokemon
|
|
jr nc, .party_full
|
|
ld a, HS_CELADON_MANSION_EEVEE_GIFT
|
|
ld [wMissableObjectIndex], a
|
|
predef HideObject
|
|
.party_full
|
|
jp TextScriptEnd
|