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
49 lines
1.1 KiB
NASM
49 lines
1.1 KiB
NASM
const_value set 2
|
|
const TINTOWER4F_POKE_BALL1
|
|
const TINTOWER4F_POKE_BALL2
|
|
const TINTOWER4F_POKE_BALL3
|
|
|
|
TinTower4F_MapScriptHeader:
|
|
.SceneScripts:
|
|
db 0
|
|
|
|
.MapCallbacks:
|
|
db 0
|
|
|
|
TinTower4FUltraBall:
|
|
itemball ULTRA_BALL
|
|
|
|
TinTower4FPPUp:
|
|
itemball PP_UP
|
|
|
|
TinTower4FEscapeRope:
|
|
itemball ESCAPE_ROPE
|
|
|
|
TinTower4FHiddenMaxPotion:
|
|
dwb EVENT_TIN_TOWER_4F_HIDDEN_MAX_POTION, MAX_POTION
|
|
|
|
|
|
TinTower4F_MapEventHeader:
|
|
; filler
|
|
db 0, 0
|
|
|
|
.Warps:
|
|
db 4
|
|
warp_def $4, $2, 2, TIN_TOWER_5F
|
|
warp_def $2, $10, 2, TIN_TOWER_3F
|
|
warp_def $e, $2, 3, TIN_TOWER_5F
|
|
warp_def $f, $11, 4, TIN_TOWER_5F
|
|
|
|
.CoordEvents:
|
|
db 0
|
|
|
|
.BGEvents:
|
|
db 1
|
|
bg_event 6, 11, BGEVENT_ITEM, TinTower4FHiddenMaxPotion
|
|
|
|
.ObjectEvents:
|
|
db 3
|
|
object_event SPRITE_POKE_BALL, 10, 14, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, TinTower4FUltraBall, EVENT_TIN_TOWER_4F_ULTRA_BALL
|
|
object_event SPRITE_POKE_BALL, 14, 17, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, TinTower4FPPUp, EVENT_TIN_TOWER_4F_PP_UP
|
|
object_event SPRITE_POKE_BALL, 12, 2, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, TinTower4FEscapeRope, EVENT_TIN_TOWER_4F_ESCAPE_ROPE
|