mirror of
https://github.com/pret/pokered.git
synced 2024-10-22 22:55:31 +00:00
d001ced41b
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.
40 lines
971 B
NASM
40 lines
971 B
NASM
CeruleanTrashedHouse_Script:
|
|
call EnableAutoTextBoxDrawing
|
|
ret
|
|
|
|
CeruleanTrashedHouse_TextPointers:
|
|
def_text_pointers
|
|
dw_const CeruleanTrashedHouseFishingGuruText, TEXT_CERULEANTRASHEDHOUSE_FISHING_GURU
|
|
dw_const CeruleanTrashedHouseGirlText, TEXT_CERULEANTRASHEDHOUSE_GIRL
|
|
dw_const CeruleanTrashedHouseWallHoleText, TEXT_CERULEANTRASHEDHOUSE_WALL_HOLE
|
|
|
|
CeruleanTrashedHouseFishingGuruText:
|
|
text_asm
|
|
ld b, TM_DIG
|
|
predef GetQuantityOfItemInBag
|
|
and b
|
|
jr z, .no_dig_tm
|
|
ld hl, .WhatsLostIsLostText
|
|
call PrintText
|
|
jr .done
|
|
.no_dig_tm
|
|
ld hl, .TheyStoleATMText
|
|
call PrintText
|
|
.done
|
|
jp TextScriptEnd
|
|
|
|
.TheyStoleATMText:
|
|
text_far _CeruleanTrashedHouseFishingGuruTheyStoleATMText
|
|
text_end
|
|
|
|
.WhatsLostIsLostText:
|
|
text_far _CeruleanTrashedHouseFishingGuruWhatsLostIsLostText
|
|
text_end
|
|
|
|
CeruleanTrashedHouseGirlText:
|
|
text_far _CeruleanTrashedHouseGirlText
|
|
text_end
|
|
|
|
CeruleanTrashedHouseWallHoleText:
|
|
text_far _CeruleanTrashedHouseWallHoleText
|
|
text_end
|