pokered/data/maps/objects/Route22.asm
vulcandth d001ced41b
Add macros, constants, and labels for map scripts and text (#367)
This introduces `def_script_pointers`, `def_text_pointers`, and `object_const_def` macros, and applies them to all maps. Most other map labels have also been identified.
2023-07-13 21:27:56 -04:00

19 lines
402 B
NASM

object_const_def
const ROUTE22_RIVAL1
const ROUTE22_RIVAL2
Route22_Object:
db $2c ; border block
def_warp_events
warp_event 8, 5, ROUTE_22_GATE, 1
def_bg_events
bg_event 7, 11, TEXT_ROUTE22_POKEMON_LEAGUE_SIGN
def_object_events
object_event 25, 5, SPRITE_BLUE, STAY, NONE, TEXT_ROUTE22_RIVAL1
object_event 25, 5, SPRITE_BLUE, STAY, NONE, TEXT_ROUTE22_RIVAL2
def_warps_to ROUTE_22