mirror of https://github.com/pret/pokecrystal.git
99 lines
2.0 KiB
NASM
99 lines
2.0 KiB
NASM
LavenderPokeCenter1F_MapScriptHeader:
|
|
; trigger count
|
|
db 0
|
|
|
|
; callback count
|
|
db 0
|
|
|
|
NurseScript_0x7e6a0:
|
|
jumpstd pokecenternurse
|
|
|
|
GentlemanScript_0x7e6a3:
|
|
jumptextfaceplayer UnknownText_0x7e6bd
|
|
|
|
TeacherScript_0x7e6a6:
|
|
jumptextfaceplayer UnknownText_0x7e710
|
|
|
|
YoungsterScript_0x7e6a9:
|
|
faceplayer
|
|
loadfont
|
|
checkevent EVENT_RETURNED_MACHINE_PART
|
|
iftrue UnknownScript_0x7e6b7
|
|
writetext UnknownText_0x7e779
|
|
closetext
|
|
loadmovesprites
|
|
end
|
|
|
|
UnknownScript_0x7e6b7:
|
|
writetext UnknownText_0x7e7ed
|
|
closetext
|
|
loadmovesprites
|
|
end
|
|
|
|
UnknownText_0x7e6bd:
|
|
text "To the north of"
|
|
line "LAVENDER is ROCK"
|
|
|
|
para "TUNNEL. Go through"
|
|
line "it to get to the"
|
|
cont "POWER PLANT."
|
|
done
|
|
|
|
UnknownText_0x7e710:
|
|
text "There's a radio"
|
|
line "program that plays"
|
|
cont "# FLUTE music."
|
|
|
|
para "Oh? Ah, your radio"
|
|
line "needs an EXPN CARD"
|
|
cont "to tune into it."
|
|
done
|
|
|
|
UnknownText_0x7e779:
|
|
text "If the POWER PLANT"
|
|
line "isn't running, the"
|
|
|
|
para "MAGNET TRAIN won't"
|
|
line "run either…"
|
|
|
|
para "It also means the"
|
|
line "RADIO STATION"
|
|
cont "can't broadcast…"
|
|
done
|
|
|
|
UnknownText_0x7e7ed:
|
|
text "The DIRECTOR of"
|
|
line "the RADIO STATION"
|
|
cont "sure was happy."
|
|
|
|
para "He said they're"
|
|
line "back on the air"
|
|
|
|
para "because the POWER"
|
|
line "PLANT is running"
|
|
cont "smoothly again."
|
|
done
|
|
|
|
LavenderPokeCenter1F_MapEventHeader:
|
|
; filler
|
|
db 0, 0
|
|
|
|
; warps
|
|
db 3
|
|
warp_def $7, $3, 1, GROUP_LAVENDER_TOWN, MAP_LAVENDER_TOWN
|
|
warp_def $7, $4, 1, GROUP_LAVENDER_TOWN, MAP_LAVENDER_TOWN
|
|
warp_def $7, $0, 1, GROUP_POKECENTER_2F, MAP_POKECENTER_2F
|
|
|
|
; xy triggers
|
|
db 0
|
|
|
|
; signposts
|
|
db 0
|
|
|
|
; people-events
|
|
db 4
|
|
person_event SPRITE_NURSE, 5, 7, UP << 2 | $2, $0, -1, -1, $0, 0, NurseScript_0x7e6a0, -1
|
|
person_event SPRITE_GENTLEMAN, 10, 11, UP << 2 | $1, $1, -1, -1, $0, 0, GentlemanScript_0x7e6a3, -1
|
|
person_event SPRITE_TEACHER, 7, 9, UP << 2 | $2, $0, -1, -1, (PAL_OW_GREEN << 4) | $80, 0, TeacherScript_0x7e6a6, -1
|
|
person_event SPRITE_YOUNGSTER, 9, 5, UP << 2 | $0, $10, -1, -1, (PAL_OW_RED << 4) | $80, 0, YoungsterScript_0x7e6a9, -1
|