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>
72 lines
1.3 KiB
NASM
72 lines
1.3 KiB
NASM
Route1P1_ScriptLoader::
|
|
ld hl, Route1P1ScriptPointers
|
|
call RunMapScript
|
|
call WriteBackMapScriptNumber
|
|
ret
|
|
|
|
Route1P1ScriptPointers::
|
|
dw Route1P1Script
|
|
dw Route1P1NPCIDs
|
|
|
|
Route1P1NPCIDs:
|
|
db 0
|
|
db 1
|
|
db $FF
|
|
|
|
Route1P1SignPointers:
|
|
dw Route1P1TextSign1
|
|
dw Route1P1TextSign2
|
|
|
|
Route1P1_TextPointers::
|
|
dw Route1P1TextNPC1
|
|
dw Route1P1TextNPC2
|
|
|
|
Route1P1Script::
|
|
ld hl, Route1P1NPCIDs
|
|
ld de, Route1P1SignPointers
|
|
call CallMapTextSubroutine
|
|
ret
|
|
|
|
Route1P1TextNPC1:
|
|
ld hl, Route1P1TextString1
|
|
call OpenTextbox
|
|
ret
|
|
|
|
Route1P1TextNPC2:
|
|
ld hl, Route1P1TextString2
|
|
call OpenTextbox
|
|
ret
|
|
|
|
Route1P1TextSign1:
|
|
ld hl, Route1P1TextString3
|
|
call OpenTextbox
|
|
ret
|
|
|
|
Route1P1TextSign2:
|
|
ld hl, Route1P1TextString4
|
|
call OpenTextbox
|
|
ret
|
|
|
|
Route1P1TextString1:
|
|
text "しょうねん!"
|
|
|
|
para "モンスターボールは"
|
|
line "やせいの ポケモンを よわらせてから"
|
|
cont "つかうのが きほんだ!"
|
|
done
|
|
|
|
Route1P1TextString2:
|
|
text "ぼく ゆうがた じゅくの かえりに"
|
|
line "かわった ポケモンを みたよ"
|
|
done
|
|
|
|
Route1P1TextString3:
|
|
text "このさき しずかな おか"
|
|
line "やせいの ポケモンに ちゅうい"
|
|
done
|
|
|
|
Route1P1TextString4:
|
|
text "ここは 1ばん どうろ"
|
|
line "サイレントヒル ⋯⋯ オールドシティ"
|
|
done
|