pokecrystal-board/maps/Route10PokeCenter1F.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

99 lines
1.9 KiB
NASM

Route10PokeCenter1F_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 0
NurseScript_0x188bd4:
jumpstd pokecenternurse
GentlemanScript_0x188bd7:
jumptextfaceplayer UnknownText_0x188bf1
GymGuyScript_0x188bda:
faceplayer
loadfont
checkevent EVENT_RETURNED_MACHINE_PART
iftrue UnknownScript_0x188be8
writetext UnknownText_0x188c26
closetext
loadmovesprites
end
UnknownScript_0x188be8:
writetext UnknownText_0x188c9e
closetext
loadmovesprites
end
CooltrainerFScript_0x188bee:
jumptextfaceplayer UnknownText_0x188d0c
UnknownText_0x188bf1:
text "A #MON CENTER"
line "near a cave?"
para "That's mighty"
line "convenient."
done
UnknownText_0x188c26:
text "The POWER PLANT's"
line "MANAGER is looking"
para "for a strong #-"
line "MON trainer."
para "He needs help"
line "getting back"
para "something that"
line "was stolen."
done
UnknownText_0x188c9e:
text "I hear TEAM ROCKET"
line "got back together"
para "in JOHTO but fell"
line "apart right away."
para "I didn't know any-"
line "thing about that."
done
UnknownText_0x188d0c:
text "When you go out-"
line "side, you can see"
para "the roof of a big"
line "building."
para "That's the POWER"
line "PLANT."
done
Route10PokeCenter1F_MapEventHeader:
; filler
db 0, 0
.Warps:
db 3
warp_def $7, $3, 1, ROUTE_10_NORTH
warp_def $7, $4, 1, ROUTE_10_NORTH
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_0x188bd4, -1
person_event SPRITE_GENTLEMAN, 10, 11, OW_UP | $1, $1, -1, -1, (PAL_OW_RED << 4) | $80, 0, GentlemanScript_0x188bd7, -1
person_event SPRITE_GYM_GUY, 6, 11, OW_DOWN | $3, $0, -1, -1, (PAL_OW_GREEN << 4) | $80, 0, GymGuyScript_0x188bda, -1
person_event SPRITE_COOLTRAINER_F, 7, 5, OW_UP | $2, $0, -1, -1, $0, 0, CooltrainerFScript_0x188bee, -1