pokecrystal-board/maps/ViridianPokeCenter1F.asm
PikalaxALT 94129b6b45 Finished the decoration attributes table
Interpretation of the Decoration Attributes table is complete.

Other changes include some more event flag and function naming, as well as a minor tweak to the person_events of every map.
2015-07-19 04:58:31 -04:00

90 lines
1.8 KiB
NASM

ViridianPokeCenter1F_MapScriptHeader:
; trigger count
db 0
; callback count
db 0
NurseScript_0x9b690:
jumpstd pokecenternurse
CooltrainerMScript_0x9b693:
faceplayer
loadfont
checkevent EVENT_BLUE_IN_CINNABAR
iftrue .BlueReturned
writetext UnknownText_0x9b6ad
closetext
loadmovesprites
end
.BlueReturned
writetext UnknownText_0x9b6f5
closetext
loadmovesprites
end
CooltrainerFScript_0x9b6a7:
jumptextfaceplayer UnknownText_0x9b76b
BugCatcherScript_0x9b6aa:
jumptextfaceplayer UnknownText_0x9b7c8
UnknownText_0x9b6ad:
text "Where in the world"
line "is VIRIDIAN's GYM"
para "LEADER? I wanted"
line "to challenge him."
done
UnknownText_0x9b6f5:
text "There are no GYM"
line "TRAINERS at the"
cont "VIRIDIAN GYM."
para "The LEADER claims"
line "his policy is to"
para "win without having"
line "any underlings."
done
UnknownText_0x9b76b:
text "I heard that the"
line "GYM in CINNABAR is"
cont "gone."
para "I wonder what be-"
line "came of BLAINE,"
cont "the GYM LEADER."
done
UnknownText_0x9b7c8:
text "My dream is to be-"
line "come a GYM LEADER."
done
ViridianPokeCenter1F_MapEventHeader:
; filler
db 0, 0
; warps
db 3
warp_def $7, $3, 5, GROUP_VIRIDIAN_CITY, MAP_VIRIDIAN_CITY
warp_def $7, $4, 5, GROUP_VIRIDIAN_CITY, MAP_VIRIDIAN_CITY
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, OW_UP | $2, $0, -1, -1, $0, 0, NurseScript_0x9b690, -1
person_event SPRITE_COOLTRAINER_M, 8, 12, OW_UP | $1, $1, -1, -1, (PAL_OW_RED << 4) | $80, 0, CooltrainerMScript_0x9b693, -1
person_event SPRITE_COOLTRAINER_F, 7, 9, OW_UP | $3, $0, -1, -1, (PAL_OW_BLUE << 4) | $80, 0, CooltrainerFScript_0x9b6a7, -1
person_event SPRITE_BUG_CATCHER, 10, 5, OW_LEFT | $1, $0, -1, -1, (PAL_OW_GREEN << 4) | $80, 0, BugCatcherScript_0x9b6aa, -1