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

47 lines
999 B
NASM

Route31VioletGate_MapScriptHeader:
; trigger count
db 0
; callback count
db 0
OfficerScript_0x197634:
jumptextfaceplayer UnknownText_0x19763a
CooltrainerFScript_0x197637:
jumptextfaceplayer UnknownText_0x197661
UnknownText_0x19763a:
text "Hi there!"
line "Did you visit"
cont "SPROUT TOWER?"
done
UnknownText_0x197661:
text "I came too far"
line "out. I'd better"
cont "phone home!"
done
Route31VioletGate_MapEventHeader:
; filler
db 0, 0
; warps
db 4
warp_def $4, $0, 8, GROUP_VIOLET_CITY, MAP_VIOLET_CITY
warp_def $5, $0, 9, GROUP_VIOLET_CITY, MAP_VIOLET_CITY
warp_def $4, $9, 1, GROUP_ROUTE_31, MAP_ROUTE_31
warp_def $5, $9, 2, GROUP_ROUTE_31, MAP_ROUTE_31
; xy triggers
db 0
; signposts
db 0
; people-events
db 2
person_event SPRITE_OFFICER, 6, 9, OW_UP | $2, $0, -1, -1, (PAL_OW_RED << 4) | $80, 0, OfficerScript_0x197634, -1
person_event SPRITE_COOLTRAINER_F, 6, 5, OW_DOWN | $3, $0, -1, -1, (PAL_OW_BLUE << 4) | $80, 0, CooltrainerFScript_0x197637, -1