mirror of
https://github.com/pret/pokegold-spaceworld.git
synced 2026-08-09 11:47:38 -05:00
This uses catch-all files like main.asm to reduce the total quantity and size of build objects (from 1.1 GB to 70 MB). --------- Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
56 lines
1.2 KiB
NASM
56 lines
1.2 KiB
NASM
PlayerHouse1F_ScriptLoader::
|
|
ld hl, PlayerHouse1FScriptPointers
|
|
call RunMapScript
|
|
call WriteBackMapScriptNumber
|
|
ret
|
|
|
|
PlayerHouse1FScriptPointers::
|
|
dw PlayerHouse1FScript1
|
|
dw PlayerHouse1FNPCIDs1
|
|
dw PlayerHouse1FScript2
|
|
dw PlayerHouse1FNPCIDs2
|
|
|
|
PlayerHouse1FNPCIDs1:
|
|
db $FF
|
|
|
|
PlayerHouse1FNPCIDs2:
|
|
db 0
|
|
db $FF
|
|
|
|
PlayerHouse1FScript1:
|
|
ld hl, PlayerHouse1FNPCIDs1
|
|
ld de, PlayerHouse1FSignPointers
|
|
call CallMapTextSubroutine
|
|
ret
|
|
|
|
PlayerHouse1FScript2:
|
|
ld hl, PlayerHouse1FNPCIDs2
|
|
ld de, PlayerHouse1FSignPointers
|
|
call CallMapTextSubroutine
|
|
ret
|
|
|
|
PlayerHouse1FSignPointers:
|
|
dw SilentHillHouseStoveScript
|
|
dw SilentHillHouseSinkScript
|
|
dw PlayerHouse1FFridgeScript
|
|
dw SilentHillHouseTVScript
|
|
dw PokemonBooksScript
|
|
PlayerHouse1F_TextPointers::
|
|
dw PlayerHouse1FNPCText1
|
|
|
|
PlayerHouse1FNPCText1:
|
|
ld hl, PlayerHouse1FTextString1
|
|
call OpenTextbox
|
|
ret
|
|
|
|
PlayerHouse1FTextString1:
|
|
text "おかあさん『えっ あなた"
|
|
line "オーキドはかせに"
|
|
cont "ポケモンずかんを つくってくれって"
|
|
cont "たのまれたの?"
|
|
|
|
para "すごいじゃない!"
|
|
line "わたしも ポケモン きらいって"
|
|
cont "わけじゃないし がんばるのよ!"
|
|
done
|