2018-01-31 08:38:45 -08:00
|
|
|
const_def 2 ; object constants
|
2015-11-26 21:22:14 -08:00
|
|
|
const GOLDENRODDEPTSTOREB1F_POKE_BALL1
|
|
|
|
const GOLDENRODDEPTSTOREB1F_POKE_BALL2
|
|
|
|
const GOLDENRODDEPTSTOREB1F_POKE_BALL3
|
|
|
|
const GOLDENRODDEPTSTOREB1F_POKE_BALL4
|
|
|
|
const GOLDENRODDEPTSTOREB1F_BLACK_BELT1
|
|
|
|
const GOLDENRODDEPTSTOREB1F_BLACK_BELT2
|
|
|
|
const GOLDENRODDEPTSTOREB1F_BLACK_BELT3
|
|
|
|
const GOLDENRODDEPTSTOREB1F_MACHOP
|
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
GoldenrodDeptStoreB1F_MapScripts:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; scene scripts
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 2 ; callbacks
|
2018-01-12 21:47:38 -08:00
|
|
|
callback MAPCALLBACK_TILES, UnknownScript_0x7d781
|
|
|
|
callback MAPCALLBACK_NEWMAP, UnknownScript_0x7d7ac
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x7d781:
|
2015-07-20 00:51:52 -07:00
|
|
|
checkevent EVENT_RECEIVED_CARD_KEY
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x7d78a
|
2015-01-20 00:01:23 -08:00
|
|
|
jump UnknownScript_0x7d791
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x7d78a:
|
2018-01-17 10:23:43 -08:00
|
|
|
changeblock 16, 4, $0d ; floor
|
2015-01-20 00:01:23 -08:00
|
|
|
jump UnknownScript_0x7d791
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x7d791:
|
2017-12-24 15:06:12 -08:00
|
|
|
checkevent EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_2
|
2015-07-10 05:08:03 -07:00
|
|
|
iftrue .Layout2
|
2017-12-24 15:06:12 -08:00
|
|
|
checkevent EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_3
|
2015-07-10 05:08:03 -07:00
|
|
|
iftrue .Layout3
|
2018-01-17 10:23:43 -08:00
|
|
|
changeblock 10, 8, $0d ; floor
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.Layout2:
|
2018-01-17 10:23:43 -08:00
|
|
|
changeblock 4, 10, $0d ; floor
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.Layout3:
|
2018-01-17 10:23:43 -08:00
|
|
|
changeblock 10, 12, $0d ; floor
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x7d7ac:
|
2017-12-24 15:06:12 -08:00
|
|
|
clearevent EVENT_GOLDENROD_UNDERGROUND_WAREHOUSE_BLOCKED_OFF
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
GoldenrodDeptStoreB1FBlackBelt1Script:
|
|
|
|
jumptextfaceplayer GoldenrodDeptStoreB1FBlackBelt1Text
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
GoldenrodDeptStoreB1FBlackBelt2Script:
|
|
|
|
jumptextfaceplayer GoldenrodDeptStoreB1FBlackBelt2Text
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
GoldenrodDeptStoreB1FBlackBelt3Script:
|
|
|
|
jumptextfaceplayer GoldenrodDeptStoreB1FBlackBelt3Text
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MachopScript_0x7d7b9:
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x7d8bb
|
2013-02-16 22:54:07 -08:00
|
|
|
cry MACHOKE
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-12-15 07:55:56 -08:00
|
|
|
GoldenrodDeptStoreB1FEther:
|
|
|
|
itemball ETHER
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-15 07:55:56 -08:00
|
|
|
GoldenrodDeptStoreB1FAmuletCoin:
|
|
|
|
itemball AMULET_COIN
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-15 07:55:56 -08:00
|
|
|
GoldenrodDeptStoreB1FBurnHeal:
|
|
|
|
itemball BURN_HEAL
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-15 07:55:56 -08:00
|
|
|
GoldenrodDeptStoreB1FUltraBall:
|
|
|
|
itemball ULTRA_BALL
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
GoldenrodDeptStoreB1FBlackBelt1Text:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Hey, kid! You're"
|
|
|
|
line "holding us up!"
|
|
|
|
|
|
|
|
para "Our policy is to"
|
|
|
|
line "work behind the"
|
|
|
|
|
|
|
|
para "scenes where no"
|
|
|
|
line "one can see us!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
GoldenrodDeptStoreB1FBlackBelt2Text:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I lose my passion"
|
|
|
|
line "for work if some-"
|
|
|
|
cont "one's watching."
|
|
|
|
|
|
|
|
para "Come on, kid,"
|
|
|
|
line "scoot!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
GoldenrodDeptStoreB1FBlackBelt3Text:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Oohah! Oohah!"
|
|
|
|
|
|
|
|
para "The stuff on the"
|
|
|
|
line "ground's junk."
|
|
|
|
|
|
|
|
para "Take it if you"
|
|
|
|
line "want it!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x7d8bb:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "MACHOKE: Maaacho!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
GoldenrodDeptStoreB1F_MapEvents:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0, 0 ; filler
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 3 ; warp events
|
2018-02-01 19:22:07 -08:00
|
|
|
warp_event 17, 2, GOLDENROD_UNDERGROUND_WAREHOUSE, 3
|
|
|
|
warp_event 9, 4, GOLDENROD_DEPT_STORE_ELEVATOR, 1
|
|
|
|
warp_event 10, 4, GOLDENROD_DEPT_STORE_ELEVATOR, 2
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; coord events
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; bg events
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 8 ; object events
|
2018-01-30 19:12:53 -08:00
|
|
|
object_event 10, 15, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, GoldenrodDeptStoreB1FEther, EVENT_GOLDENROD_DEPT_STORE_B1F_ETHER
|
2018-02-01 19:22:07 -08:00
|
|
|
object_event 14, 2, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, GoldenrodDeptStoreB1FAmuletCoin, EVENT_GOLDENROD_DEPT_STORE_B1F_AMULET_COIN
|
|
|
|
object_event 6, 3, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, GoldenrodDeptStoreB1FBurnHeal, EVENT_GOLDENROD_DEPT_STORE_B1F_BURN_HEAL
|
2018-01-30 19:12:53 -08:00
|
|
|
object_event 15, 15, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, GoldenrodDeptStoreB1FUltraBall, EVENT_GOLDENROD_DEPT_STORE_B1F_ULTRA_BALL
|
2018-02-01 19:22:07 -08:00
|
|
|
object_event 9, 10, SPRITE_BLACK_BELT, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 1, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStoreB1FBlackBelt1Script, -1
|
|
|
|
object_event 4, 8, SPRITE_BLACK_BELT, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStoreB1FBlackBelt2Script, -1
|
|
|
|
object_event 6, 13, SPRITE_BLACK_BELT, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStoreB1FBlackBelt3Script, -1
|
|
|
|
object_event 7, 7, SPRITE_MACHOP, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, MachopScript_0x7d7b9, -1
|