mirror of
https://github.com/pret/pokered.git
synced 2024-10-22 22:55:31 +00:00
![vulcandth](/assets/img/avatar_default.png)
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.
22 lines
620 B
NASM
22 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
|