mirror of
https://github.com/pret/pokeyellow.git
synced 2024-11-23 05:49:57 +00:00
24 lines
627 B
NASM
24 lines
627 B
NASM
CeladonMansionRoofHouse_Script:
|
|
call EnableAutoTextBoxDrawing
|
|
ret
|
|
|
|
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
|