mirror of https://github.com/pret/pokecrystal.git
39 lines
801 B
NASM
39 lines
801 B
NASM
SilverCaveOutside_MapScripts:
|
|
db 0 ; scene scripts
|
|
|
|
db 1 ; callbacks
|
|
callback MAPCALLBACK_NEWMAP, .FlyPoint
|
|
|
|
.FlyPoint:
|
|
setflag ENGINE_FLYPOINT_SILVER_CAVE
|
|
return
|
|
|
|
MtSilverPokecenterSign:
|
|
jumpstd pokecentersign
|
|
|
|
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
|
|
|
|
db 2 ; warp events
|
|
warp_event 23, 19, 1, SILVER_CAVE_POKECENTER_1F
|
|
warp_event 18, 11, 1, SILVER_CAVE_ROOM_1
|
|
|
|
db 0 ; coord events
|
|
|
|
db 3 ; bg events
|
|
bg_event 24, 19, BGEVENT_READ, MtSilverPokecenterSign
|
|
bg_event 17, 13, BGEVENT_READ, MtSilverSign
|
|
bg_event 9, 25, BGEVENT_ITEM, SilverCaveOutsideHiddenFullRestore
|
|
|
|
db 0 ; object events
|