pokecrystal-board/maps/Route16.asm

57 lines
916 B
NASM
Raw Normal View History

2015-11-26 21:22:14 -08:00
const_value set 2
2015-07-10 01:45:35 -07:00
Route16_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 1
; callbacks
dbw 5, UnknownScript_0x1ad318
2015-07-10 01:45:35 -07:00
UnknownScript_0x1ad318:
checkcode VAR_YCOORD
if_less_than $5, UnknownScript_0x1ad328
checkcode VAR_XCOORD
if_greater_than $d, UnknownScript_0x1ad328
2015-07-10 05:08:03 -07:00
setflag ENGINE_ALWAYS_ON_BIKE
return
2015-07-10 01:45:35 -07:00
UnknownScript_0x1ad328:
clearflag ENGINE_ALWAYS_ON_BIKE
return
2015-07-10 01:45:35 -07:00
MapRoute16Signpost0Script:
jumptext UnknownText_0x1ad32f
2015-07-10 01:45:35 -07:00
UnknownText_0x1ad32f:
text "CYCLING ROAD"
para "DOWNHILL COASTING"
line "ALL THE WAY!"
done
2015-07-10 01:45:35 -07:00
Route16_MapEventHeader:
; filler
db 0, 0
.Warps:
db 5
warp_def $1, $3, 1, ROUTE_16_FUCHSIA_SPEECH_HOUSE
warp_def $6, $e, 3, ROUTE_16_GATE
warp_def $7, $e, 4, ROUTE_16_GATE
warp_def $6, $9, 1, ROUTE_16_GATE
warp_def $7, $9, 2, ROUTE_16_GATE
.XYTriggers:
db 0
.Signposts:
db 1
signpost 5, 5, SIGNPOST_READ, MapRoute16Signpost0Script
.PersonEvents:
db 0