pokecrystal-board/maps/SaffronPokeCenter1F.asm
PikalaxALT 432df825d4 Replaced GROUP_, MAP_ references with the map macro
Updated macros that rely on the GROUP_, MAP_ constants to use the map macro

Added GROUP_NONE and MAP_NONE for the sake of compatibility with this new scheme

Added new macro elevfloor to simplify the definition of elevators under this new scheme
2015-07-23 12:59:19 -04:00

130 lines
2.4 KiB
NASM

SaffronPokeCenter1F_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 0
NurseScript_0x18a47d:
jumpstd pokecenternurse
TeacherScript_0x18a480:
special Function10630f
iftrue UnknownScript_0x18a489
jumptextfaceplayer UnknownText_0x18a4a3
UnknownScript_0x18a489:
jumptextfaceplayer UnknownText_0x18a532
FisherScript_0x18a48c:
faceplayer
loadfont
checkevent EVENT_RETURNED_MACHINE_PART
iftrue UnknownScript_0x18a49a
writetext UnknownText_0x18a5d3
closetext
loadmovesprites
end
UnknownScript_0x18a49a:
writetext UnknownText_0x18a62e
closetext
loadmovesprites
end
YoungsterScript_0x18a4a0:
jumptextfaceplayer UnknownText_0x18a6c5
UnknownText_0x18a4a3:
text "What are JOHTO's"
line "#MON CENTERS"
cont "like?"
para "…Oh, I see. So"
line "they're not much"
para "different from the"
line "ones in KANTO."
para "I can go to JOHTO"
line "without worrying,"
cont "then!"
done
UnknownText_0x18a532:
text "What are JOHTO's"
line "#MON CENTERS"
cont "like?"
para "…Oh, I see."
line "So they let you"
para "link with people"
line "far away?"
para "Then I'll get my"
line "friend in JOHTO to"
para "catch a MARILL and"
line "trade it to me!"
done
UnknownText_0x18a5d3:
text "I just happened to"
line "come through ROCK"
para "TUNNEL. There was"
line "some commotion at"
cont "the POWER PLANT."
done
UnknownText_0x18a62e:
text "Caves collapse"
line "easily."
para "Several caves have"
line "disappeared in the"
para "past few years,"
line "like the one out-"
cont "side CERULEAN."
para "As a pro HIKER,"
line "that's common"
cont "knowledge."
done
UnknownText_0x18a6c5:
text "SILPH CO.'s HEAD"
line "OFFICE and the"
para "MAGNET TRAIN STA-"
line "TION--they're the"
para "places to see in"
line "SAFFRON."
done
SaffronPokeCenter1F_MapEventHeader:
; filler
db 0, 0
.Warps:
db 3
warp_def $7, $3, 4, SAFFRON_CITY
warp_def $7, $4, 4, SAFFRON_CITY
warp_def $7, $0, 1, POKECENTER_2F
.XYTriggers:
db 0
.Signposts:
db 0
.PersonEvents:
db 4
person_event SPRITE_NURSE, 5, 7, OW_UP | $2, $0, -1, -1, $0, 0, NurseScript_0x18a47d, -1
person_event SPRITE_TEACHER, 6, 11, OW_DOWN | $2, $11, -1, -1, (PAL_OW_GREEN << 4) | $80, 0, TeacherScript_0x18a480, -1
person_event SPRITE_FISHER, 10, 12, OW_LEFT | $0, $0, -1, -1, (PAL_OW_RED << 4) | $80, 0, FisherScript_0x18a48c, -1
person_event SPRITE_YOUNGSTER, 8, 5, OW_DOWN | $3, $0, -1, -1, (PAL_OW_BLUE << 4) | $80, 0, YoungsterScript_0x18a4a0, -1