mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
c05b7f41dd
- MapTriggers / maptrigger → SceneScripts / scene_script - XYTriggers / xy_trigger → CoordEvents / coord_event - Signposts / signpost → BGEvents / bg_event - PersonEvents / person_event → ObjectEvents / object_event
44 lines
852 B
NASM
44 lines
852 B
NASM
const_value set 2
|
|
const TINTOWER5F_POKE_BALL
|
|
|
|
TinTower5F_MapScriptHeader:
|
|
.SceneScripts:
|
|
db 0
|
|
|
|
.MapCallbacks:
|
|
db 0
|
|
|
|
TinTower5FRareCandy:
|
|
itemball RARE_CANDY
|
|
|
|
TinTower5FHiddenFullRestore:
|
|
dwb EVENT_TIN_TOWER_5F_HIDDEN_FULL_RESTORE, FULL_RESTORE
|
|
|
|
|
|
TinTower5FHiddenCarbos:
|
|
dwb EVENT_TIN_TOWER_5F_HIDDEN_CARBOS, CARBOS
|
|
|
|
|
|
TinTower5F_MapEventHeader:
|
|
; filler
|
|
db 0, 0
|
|
|
|
.Warps:
|
|
db 4
|
|
warp_def $f, $b, 2, TIN_TOWER_6F
|
|
warp_def $4, $2, 1, TIN_TOWER_4F
|
|
warp_def $e, $2, 3, TIN_TOWER_4F
|
|
warp_def $f, $11, 4, TIN_TOWER_4F
|
|
|
|
.CoordEvents:
|
|
db 0
|
|
|
|
.BGEvents:
|
|
db 2
|
|
bg_event 14, 16, BGEVENT_ITEM, TinTower5FHiddenFullRestore
|
|
bg_event 15, 3, BGEVENT_ITEM, TinTower5FHiddenCarbos
|
|
|
|
.ObjectEvents:
|
|
db 1
|
|
object_event SPRITE_POKE_BALL, 9, 9, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, TinTower5FRareCandy, EVENT_TIN_TOWER_5F_RARE_CANDY
|