pokecrystal/maps/ElmsHouse.asm

108 lines
1.8 KiB
NASM

const_value set 2
const ELMSHOUSE_ELMS_WIFE
const ELMSHOUSE_ELMS_SON
ElmsHouse_MapScriptHeader:
.SceneScripts:
db 0
.MapCallbacks:
db 0
ElmsWife:
jumptextfaceplayer ElmsWifeText
ElmsSon:
jumptextfaceplayer ElmsSonText
ElmsHousePC:
jumptext ElmsHousePCText
ElmsHouseBookshelf:
jumpstd difficultbookshelf
ElmsWifeText:
text "Hi, <PLAY_G>! My"
line "husband's always"
para "so busy--I hope"
line "he's OK."
para "When he's caught"
line "up in his #MON"
para "research, he even"
line "forgets to eat."
done
ElmsSonText:
text "When I grow up,"
line "I'm going to help"
cont "my dad!"
para "I'm going to be a"
line "great #MON"
cont "professor!"
done
ElmsHouseLabFoodText:
; unused
text "There's some food"
line "here. It must be"
cont "for the LAB."
done
ElmsHousePokemonFoodText:
; unused
text "There's some food"
line "here. This must be"
cont "for #MON."
done
ElmsHousePCText:
text "#MON. Where do"
line "they come from? "
para "Where are they"
line "going?"
para "Why has no one"
line "ever witnessed a"
cont "#MON's birth?"
para "I want to know! I"
line "will dedicate my"
para "life to the study"
line "of #MON!"
para "…"
para "It's a part of"
line "PROF.ELM's re-"
cont "search papers."
done
ElmsHouse_MapEventHeader:
; filler
db 0, 0
.Warps:
db 2
warp_def $7, $2, 4, NEW_BARK_TOWN
warp_def $7, $3, 4, NEW_BARK_TOWN
.CoordEvents:
db 0
.BGEvents:
db 3
bg_event 1, 0, BGEVENT_READ, ElmsHousePC
bg_event 1, 6, BGEVENT_READ, ElmsHouseBookshelf
bg_event 1, 7, BGEVENT_READ, ElmsHouseBookshelf
.ObjectEvents:
db 2
object_event SPRITE_TEACHER, 5, 1, SPRITEMOVEDATA_WALK_UP_DOWN, 1, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, ElmsWife, -1
object_event SPRITE_BUG_CATCHER, 4, 5, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ElmsSon, -1