diff options
| author | luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> | 2018-07-08 17:34:41 -0400 |
|---|---|---|
| committer | luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> | 2018-07-08 17:34:41 -0400 |
| commit | ca09233c9eca4c6b9b0ccfba436dcd7e3b3e669c (patch) | |
| tree | 4f7596be6169491f801756fdda59d6b51a751afe /maps/PlayerHouse1F.asm | |
| parent | 116b3b251931b0cd973d5d3f312fa32c2b16b197 (diff) | |
Build files in maps/
Diffstat (limited to 'maps/PlayerHouse1F.asm')
| -rw-r--r-- | maps/PlayerHouse1F.asm | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/maps/PlayerHouse1F.asm b/maps/PlayerHouse1F.asm new file mode 100644 index 0000000..52af3ce --- /dev/null +++ b/maps/PlayerHouse1F.asm @@ -0,0 +1,61 @@ +include "constants.asm" + +SECTION "Player's House 1F", ROMX[$409C], BANK[$34] + +PlayerHouse1FScriptLoader:: ; 409C + ld hl, PlayerHouse1FScriptPointers + call RunMapScript + call WriteBackMapScriptNumber + ret + +PlayerHouse1FScriptPointers: ; 40A6 + dw PlayerHouse1FScript1 + dw PlayerHouse1FNPCIDs1 + dw PlayerHouse1FScript2 + dw PlayerHouse1FNPCIDs2 + +PlayerHouse1FNPCIDs1: ; 40AE + db $FF + +PlayerHouse1FNPCIDs2: ; 40AF + db 0 + db $FF + +PlayerHouse1FScript1: ; 40B1 + ld hl, PlayerHouse1FNPCIDs1 + ld de, PlayerHouse1FSignPointers + call CallMapTextSubroutine + ret + +PlayerHouse1FScript2: ; 40BB + ld hl, PlayerHouse1FNPCIDs2 + ld de, PlayerHouse1FSignPointers + call CallMapTextSubroutine + ret + +PlayerHouse1FSignPointers: ; 40C5 + dw Function38ab + dw Function38b4 + dw Function38a2 + dw Function38bd + dw Function3899 +PlayerHouse1FTextPointers:: + dw PlayerHouse1FNPCText1 + +PlayerHouse1FNPCText1: ; 40D1 + ld hl, PlayerHouse1FTextString1 + call OpenTextbox + ret + +PlayerHouse1FTextString1: ; 40D8 + text "おかあさん『えっ あなた" + line "オーキドはかせに" + cont "ポケモンずかんを つくってくれって" + cont "たのまれたの?" + + para "すごいじゃない!" + line "わたしも ポケモン きらいって" + cont "わけじゃないし がんばるのよ!" + done + +; 4132
\ No newline at end of file |
