mirror of https://github.com/pret/pokecrystal.git
55 lines
1007 B
NASM
55 lines
1007 B
NASM
Route16_MapScriptHeader:
|
|
; trigger count
|
|
db 0
|
|
|
|
; callback count
|
|
db 1
|
|
|
|
; callbacks
|
|
|
|
dbw 5, UnknownScript_0x1ad318
|
|
|
|
UnknownScript_0x1ad318:
|
|
checkcode VAR_YCOORD
|
|
if_less_than $5, UnknownScript_0x1ad328
|
|
checkcode VAR_XCOORD
|
|
if_greater_than $d, UnknownScript_0x1ad328
|
|
setflag $0019
|
|
return
|
|
|
|
UnknownScript_0x1ad328:
|
|
clearflag $0019
|
|
return
|
|
|
|
MapRoute16Signpost0Script:
|
|
jumptext UnknownText_0x1ad32f
|
|
|
|
UnknownText_0x1ad32f:
|
|
text "CYCLING ROAD"
|
|
|
|
para "DOWNHILL COASTING"
|
|
line "ALL THE WAY!"
|
|
done
|
|
|
|
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
|