pokered/scripts/LavenderCuboneHouse.asm

37 lines
850 B
NASM
Raw Normal View History

LavenderCuboneHouse_Script:
2014-05-18 18:19:10 +00:00
call EnableAutoTextBoxDrawing
ret
LavenderCuboneHouse_TextPointers:
def_text_pointers
dw_const LavenderCuboneHouseCuboneText, TEXT_LAVENDERCUBONEHOUSE_CUBONE
dw_const LavenderCuboneHouseBrunetteGirlText, TEXT_LAVENDERCUBONEHOUSE_BRUNETTE_GIRL
2014-05-18 18:19:10 +00:00
LavenderCuboneHouseCuboneText:
text_far _LavenderCuboneHouseCuboneText
text_asm
2014-05-18 18:19:10 +00:00
ld a, CUBONE
call PlayCry
jp TextScriptEnd
LavenderCuboneHouseBrunetteGirlText:
text_asm
2015-07-21 17:36:03 +00:00
CheckEvent EVENT_RESCUED_MR_FUJI
jr nz, .rescued_mr_fuji
ld hl, .PoorCubonesMotherText
2014-05-18 18:19:10 +00:00
call PrintText
jr .done
.rescued_mr_fuji
ld hl, .TheGhostIsGoneText
2014-05-18 18:19:10 +00:00
call PrintText
.done
2014-05-18 18:19:10 +00:00
jp TextScriptEnd
.PoorCubonesMotherText:
text_far _LavenderCuboneHouseBrunetteGirlPoorCubonesMotherText
text_end
2014-05-18 18:19:10 +00:00
.TheGhostIsGoneText:
text_far _LavenderCuboneHouseBrunetteGirlGhostIsGoneText
text_end