pokecrystal/maps/Route16.asm

55 lines
1007 B
NASM
Raw Normal View History

2015-07-10 08:45:35 +00:00
Route16_MapScriptHeader:
; trigger count
db 0
; callback count
db 1
; callbacks
dbw 5, UnknownScript_0x1ad318
2015-07-10 08:45:35 +00:00
UnknownScript_0x1ad318:
checkcode VAR_YCOORD
if_less_than $5, UnknownScript_0x1ad328
checkcode VAR_XCOORD
if_greater_than $d, UnknownScript_0x1ad328
2013-09-24 07:51:42 +00:00
setflag $0019
return
2015-07-10 08:45:35 +00:00
UnknownScript_0x1ad328:
2013-09-24 07:51:42 +00:00
clearflag $0019
return
2015-07-10 08:45:35 +00:00
MapRoute16Signpost0Script:
jumptext UnknownText_0x1ad32f
2015-07-10 08:45:35 +00:00
UnknownText_0x1ad32f:
text "CYCLING ROAD"
para "DOWNHILL COASTING"
line "ALL THE WAY!"
done
2015-07-10 08:45:35 +00:00
Route16_MapEventHeader:
; filler
db 0, 0
; warps
db 5
warp_def $1, $3, 1, GROUP_ROUTE_16_FUCHSIA_SPEECH_HOUSE, MAP_ROUTE_16_FUCHSIA_SPEECH_HOUSE
warp_def $6, $e, 3, GROUP_ROUTE_16_GATE, MAP_ROUTE_16_GATE
warp_def $7, $e, 4, GROUP_ROUTE_16_GATE, MAP_ROUTE_16_GATE
warp_def $6, $9, 1, GROUP_ROUTE_16_GATE, MAP_ROUTE_16_GATE
warp_def $7, $9, 2, GROUP_ROUTE_16_GATE, MAP_ROUTE_16_GATE
; xy triggers
db 0
; signposts
db 1
signpost 5, 5, $0, MapRoute16Signpost0Script
; people-events
db 0