mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
c05b7f41dd
- MapTriggers / maptrigger → SceneScripts / scene_script - XYTriggers / xy_trigger → CoordEvents / coord_event - Signposts / signpost → BGEvents / bg_event - PersonEvents / person_event → ObjectEvents / object_event
37 lines
851 B
NASM
37 lines
851 B
NASM
const_value set 2
|
|
const SILVERCAVEITEMROOMS_POKE_BALL1
|
|
const SILVERCAVEITEMROOMS_POKE_BALL2
|
|
|
|
SilverCaveItemRooms_MapScriptHeader:
|
|
.SceneScripts:
|
|
db 0
|
|
|
|
.MapCallbacks:
|
|
db 0
|
|
|
|
SilverCaveItemRoomsMaxRevive:
|
|
itemball MAX_REVIVE
|
|
|
|
SilverCaveItemRoomsFullRestore:
|
|
itemball FULL_RESTORE
|
|
|
|
SilverCaveItemRooms_MapEventHeader:
|
|
; filler
|
|
db 0, 0
|
|
|
|
.Warps:
|
|
db 2
|
|
warp_def $3, $d, 3, SILVER_CAVE_ROOM_2
|
|
warp_def $f, $7, 4, SILVER_CAVE_ROOM_2
|
|
|
|
.CoordEvents:
|
|
db 0
|
|
|
|
.BGEvents:
|
|
db 0
|
|
|
|
.ObjectEvents:
|
|
db 2
|
|
object_event SPRITE_POKE_BALL, 3, 6, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, SilverCaveItemRoomsMaxRevive, EVENT_SILVER_CAVE_ITEM_ROOMS_MAX_REVIVE
|
|
object_event SPRITE_POKE_BALL, 11, 15, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, SilverCaveItemRoomsFullRestore, EVENT_SILVER_CAVE_ITEM_ROOMS_FULL_RESTORE
|