pokecrystal-board/maps/SilverCaveOutside.asm
vulcandth c3331eb7b1
Rename scene and callback labels (#981)
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
2022-08-09 18:04:18 -04:00

39 lines
843 B
NASM

SilverCaveOutside_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_NEWMAP, SilverCaveOutsideFlypointCallback
SilverCaveOutsideFlypointCallback:
setflag ENGINE_FLYPOINT_SILVER_CAVE
endcallback
MtSilverPokecenterSign:
jumpstd PokecenterSignScript
MtSilverSign:
jumptext MtSilverSignText
SilverCaveOutsideHiddenFullRestore:
hiddenitem FULL_RESTORE, EVENT_SILVER_CAVE_OUTSIDE_HIDDEN_FULL_RESTORE
MtSilverSignText:
text "MT.SILVER"
done
SilverCaveOutside_MapEvents:
db 0, 0 ; filler
def_warp_events
warp_event 23, 19, SILVER_CAVE_POKECENTER_1F, 1
warp_event 18, 11, SILVER_CAVE_ROOM_1, 1
def_coord_events
def_bg_events
bg_event 24, 19, BGEVENT_READ, MtSilverPokecenterSign
bg_event 17, 13, BGEVENT_READ, MtSilverSign
bg_event 9, 25, BGEVENT_ITEM, SilverCaveOutsideHiddenFullRestore
def_object_events