pokecrystal-board/maps/ElmsHouse.asm
2018-01-31 11:08:47 -05:00

101 lines
1.8 KiB
NASM

const_value set 2 ; object constants
const ELMSHOUSE_ELMS_WIFE
const ELMSHOUSE_ELMS_SON
ElmsHouse_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
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_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
warp_event 2, 7, 4, NEW_BARK_TOWN
warp_event 3, 7, 4, NEW_BARK_TOWN
db 0 ; coord events
db 3 ; bg events
bg_event 0, 1, BGEVENT_READ, ElmsHousePC
bg_event 6, 1, BGEVENT_READ, ElmsHouseBookshelf
bg_event 7, 1, BGEVENT_READ, ElmsHouseBookshelf
db 2 ; object events
object_event 1, 5, SPRITE_TEACHER, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 1, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, ElmsWife, -1
object_event 5, 4, SPRITE_BUG_CATCHER, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ElmsSon, -1