mirror of
https://github.com/pret/pokegold-spaceworld.git
synced 2026-09-29 22:10:13 -04:00
77 lines
1.8 KiB
NASM
77 lines
1.8 KiB
NASM
map_attributes PlayerHouse1F, PLAYER_HOUSE_1F
|
|
|
|
object_const_def
|
|
const PLAYER_HOUSE_1F_MOM
|
|
|
|
PlayerHouse1F_MapEvents::
|
|
dw $4000 ; unknown
|
|
|
|
def_warp_events
|
|
warp_event 6, 7, SILENT_HILL, 1, 48
|
|
warp_event 7, 7, SILENT_HILL, 1, 48
|
|
warp_event 9, 0, PLAYER_HOUSE_2F, 1, 16
|
|
|
|
def_bg_events
|
|
bg_event 0, 1, 1
|
|
bg_event 1, 1, 2
|
|
bg_event 2, 1, 3
|
|
bg_event 4, 1, 4
|
|
bg_event 5, 1, 5
|
|
|
|
def_object_events
|
|
object_event 7, 3, SPRITE_MOM, SPRITEMOVEFN_TURN_LEFT, 0, 0, -1, -1, 0, 0, 0, 0, 0, 0
|
|
|
|
PlayerHouse1F_Blocks::
|
|
INCBIN "maps/PlayerHouse1F.blk"
|
|
|
|
map_generic_scriptloader
|
|
|
|
PlayerHouse1FScriptPointers::
|
|
def_script_pointers
|
|
script_pointer PlayerHouse1FDefaultScript, PlayerHouse1FDefaultNPCIDs, SCENE_PLAYER_HOUSE_1F_DEFAULT
|
|
script_pointer PlayerHouse1FMomBackScript, PlayerHouse1FMomBackNPCIDs, SCENE_PLAYER_HOUSE_1F_MOM_BACK
|
|
|
|
PlayerHouse1FDefaultNPCIDs:
|
|
db -1
|
|
|
|
PlayerHouse1FMomBackNPCIDs:
|
|
npc_id PLAYER_HOUSE_1F_MOM
|
|
db -1
|
|
|
|
PlayerHouse1FDefaultScript:
|
|
ld hl, PlayerHouse1FDefaultNPCIDs
|
|
ld de, PlayerHouse1FSignPointers
|
|
call CallMapTextSubroutine
|
|
ret
|
|
|
|
PlayerHouse1FMomBackScript:
|
|
ld hl, PlayerHouse1FMomBackNPCIDs
|
|
ld de, PlayerHouse1FSignPointers
|
|
call CallMapTextSubroutine
|
|
ret
|
|
|
|
PlayerHouse1FSignPointers:
|
|
dw StoveScript
|
|
dw SinkScript
|
|
dw FridgeScript
|
|
dw TVScript
|
|
dw PokemonBooksScript
|
|
PlayerHouse1F_TextPointers::
|
|
dw PlayerHouse1FNPCText1
|
|
|
|
PlayerHouse1FNPCText1:
|
|
ld hl, PlayerHouse1FTextString1
|
|
call OpenTextbox
|
|
ret
|
|
|
|
PlayerHouse1FTextString1:
|
|
text "おかあさん『えっ あなた"
|
|
line "オーキドはかせに"
|
|
cont "ポケモンずかんを つくってくれって"
|
|
cont "たのまれたの?"
|
|
|
|
para "すごいじゃない!"
|
|
line "わたしも ポケモン きらいって"
|
|
cont "わけじゃないし がんばるのよ!"
|
|
done
|