2019-04-21 21:42:25 +00:00
|
|
|
object_const_def ; object_event constants
|
2015-11-27 05:22:14 +00:00
|
|
|
const GOLDENRODDEPTSTOREROOF_CLERK
|
|
|
|
const GOLDENRODDEPTSTOREROOF_POKEFAN_F
|
|
|
|
const GOLDENRODDEPTSTOREROOF_FISHER
|
|
|
|
const GOLDENRODDEPTSTOREROOF_TWIN
|
|
|
|
const GOLDENRODDEPTSTOREROOF_SUPER_NERD
|
|
|
|
const GOLDENRODDEPTSTOREROOF_POKEFAN_M
|
|
|
|
const GOLDENRODDEPTSTOREROOF_TEACHER
|
|
|
|
const GOLDENRODDEPTSTOREROOF_BUG_CATCHER
|
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
GoldenrodDeptStoreRoof_MapScripts:
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0 ; scene scripts
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 2 ; callbacks
|
2018-01-13 05:47:38 +00:00
|
|
|
callback MAPCALLBACK_TILES, .CheckSaleChangeBlock
|
|
|
|
callback MAPCALLBACK_OBJECTS, .CheckSaleChangeClerk
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-17 21:17:10 +00:00
|
|
|
.CheckSaleChangeBlock:
|
2015-07-10 12:08:03 +00:00
|
|
|
checkflag ENGINE_GOLDENROD_DEPT_STORE_SALE_IS_ON
|
2018-01-17 18:23:43 +00:00
|
|
|
iftrue .SaleIsOn
|
2020-07-17 12:37:03 +00:00
|
|
|
endcallback
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-17 18:23:43 +00:00
|
|
|
.SaleIsOn:
|
|
|
|
changeblock 0, 2, $3f ; cardboard boxes
|
|
|
|
changeblock 0, 4, $0f ; vendor booth
|
2020-07-17 12:37:03 +00:00
|
|
|
endcallback
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-17 21:17:10 +00:00
|
|
|
.CheckSaleChangeClerk:
|
2015-07-10 12:08:03 +00:00
|
|
|
checkflag ENGINE_GOLDENROD_DEPT_STORE_SALE_IS_ON
|
2015-07-17 21:17:10 +00:00
|
|
|
iftrue .ChangeClerk
|
|
|
|
setevent EVENT_GOLDENROD_SALE_OFF
|
|
|
|
clearevent EVENT_GOLDENROD_SALE_ON
|
2020-07-17 12:37:03 +00:00
|
|
|
endcallback
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-17 21:17:10 +00:00
|
|
|
.ChangeClerk:
|
|
|
|
clearevent EVENT_GOLDENROD_SALE_OFF
|
|
|
|
setevent EVENT_GOLDENROD_SALE_ON
|
2020-07-17 12:37:03 +00:00
|
|
|
endcallback
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-28 21:50:43 +00:00
|
|
|
GoldenrodDeptStoreRoofClerkScript:
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-11-02 22:38:08 +00:00
|
|
|
pokemart MARTTYPE_ROOFTOP, 0
|
2015-11-25 15:16:29 +00:00
|
|
|
closetext
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2017-12-18 00:48:04 +00:00
|
|
|
GoldenrodDeptStoreRoofPokefanFScript:
|
|
|
|
jumptextfaceplayer GoldenrodDeptStoreRoofPokefanFText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-03-01 18:18:51 +00:00
|
|
|
GoldenrodDeptStoreRoofFisherScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2018-08-19 17:56:41 +00:00
|
|
|
writetext GoldenrodDeptStoreRoofFisherText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2018-02-26 01:05:37 +00:00
|
|
|
turnobject GOLDENRODDEPTSTOREROOF_FISHER, UP
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2017-12-18 00:48:04 +00:00
|
|
|
GoldenrodDeptStoreRoofTwinScript:
|
|
|
|
jumptextfaceplayer GoldenrodDeptStoreRoofTwinText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-03-01 18:18:51 +00:00
|
|
|
GoldenrodDeptStoreRoofSuperNerdScript:
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2018-08-19 17:56:41 +00:00
|
|
|
writetext GoldenrodDeptStoreRoofSuperNerdOhWowText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2018-02-26 01:05:37 +00:00
|
|
|
turnobject GOLDENRODDEPTSTOREROOF_SUPER_NERD, UP
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2018-08-19 17:56:41 +00:00
|
|
|
writetext GoldenrodDeptStoreRoofSuperNerdQuitBotheringMeText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2018-02-26 01:05:37 +00:00
|
|
|
turnobject GOLDENRODDEPTSTOREROOF_SUPER_NERD, RIGHT
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2017-12-18 00:48:04 +00:00
|
|
|
GoldenrodDeptStoreRoofPokefanMScript:
|
|
|
|
jumptextfaceplayer GoldenrodDeptStoreRoofPokefanMText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 00:48:04 +00:00
|
|
|
GoldenrodDeptStoreRoofTeacherScript:
|
|
|
|
jumptextfaceplayer GoldenrodDeptStoreRoofTeacherText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 00:48:04 +00:00
|
|
|
GoldenrodDeptStoreRoofBugCatcherScript:
|
|
|
|
jumptextfaceplayer GoldenrodDeptStoreRoofBugCatcherText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-07 10:13:59 +00:00
|
|
|
Binoculars1:
|
|
|
|
jumptext Binoculars1Text
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-07 10:13:59 +00:00
|
|
|
Binoculars2:
|
|
|
|
jumptext Binoculars2Text
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-07 10:13:59 +00:00
|
|
|
Binoculars3:
|
|
|
|
jumptext Binoculars3Text
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-07 10:13:59 +00:00
|
|
|
PokeDollVendingMachine:
|
|
|
|
jumptext PokeDollVendingMachineText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 00:48:04 +00:00
|
|
|
GoldenrodDeptStoreRoofPokefanFText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Whew, I'm tired."
|
|
|
|
|
|
|
|
para "I sometimes come"
|
|
|
|
line "up to the rooftop"
|
|
|
|
|
|
|
|
para "to take a break"
|
|
|
|
line "from shopping."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-08-19 17:56:41 +00:00
|
|
|
GoldenrodDeptStoreRoofFisherText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Pardon? Who says"
|
|
|
|
line "an adult can't get"
|
|
|
|
cont "into this?"
|
|
|
|
|
|
|
|
para "I'm going to be"
|
|
|
|
line "back every day to"
|
|
|
|
|
|
|
|
para "collect all the"
|
|
|
|
line "dolls!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 00:48:04 +00:00
|
|
|
GoldenrodDeptStoreRoofTwinText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "They have bargain"
|
|
|
|
line "sales here every"
|
|
|
|
cont "so often."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-08-19 17:56:41 +00:00
|
|
|
GoldenrodDeptStoreRoofSuperNerdOhWowText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Oh, wow!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-08-19 17:56:41 +00:00
|
|
|
GoldenrodDeptStoreRoofSuperNerdQuitBotheringMeText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Will you quit"
|
|
|
|
line "bothering me?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 00:48:04 +00:00
|
|
|
GoldenrodDeptStoreRoofPokefanMText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "There's something"
|
|
|
|
line "I really want, but"
|
|
|
|
|
|
|
|
para "I don't have the"
|
|
|
|
line "necessary cash…"
|
|
|
|
|
|
|
|
para "Maybe I'll sell"
|
|
|
|
line "off the BERRIES"
|
|
|
|
cont "I've collected…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 00:48:04 +00:00
|
|
|
GoldenrodDeptStoreRoofTeacherText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Oh, everything is"
|
|
|
|
line "so cheap!"
|
|
|
|
|
|
|
|
para "I bought so much,"
|
|
|
|
line "my PACK's crammed!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 00:48:04 +00:00
|
|
|
GoldenrodDeptStoreRoofBugCatcherText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "My #MON always"
|
|
|
|
line "get paralyzed or"
|
|
|
|
|
|
|
|
para "poisoned when the"
|
|
|
|
line "chips are down…"
|
|
|
|
|
|
|
|
para "So I came to buy"
|
|
|
|
line "some FULL HEAL."
|
|
|
|
|
|
|
|
para "I wonder if"
|
|
|
|
line "there's any left?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-07 10:13:59 +00:00
|
|
|
Binoculars1Text:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "These binoculars"
|
|
|
|
line "let me see far"
|
|
|
|
|
|
|
|
para "away. Maybe I can"
|
|
|
|
line "see my own house."
|
|
|
|
|
|
|
|
para "Is it the one with"
|
|
|
|
line "the green roof?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-07 10:13:59 +00:00
|
|
|
Binoculars2Text:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Hey! Some trainers"
|
|
|
|
line "are battling on"
|
|
|
|
cont "the road!"
|
|
|
|
|
|
|
|
para "A #MON fired a"
|
|
|
|
line "flurry of leaves!"
|
|
|
|
|
|
|
|
para "That makes me feel"
|
|
|
|
line "like battling"
|
|
|
|
cont "right now!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-07 10:13:59 +00:00
|
|
|
Binoculars3Text:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "A FISHER caught a"
|
|
|
|
line "lot of MAGIKARP…"
|
|
|
|
|
|
|
|
para "They're SPLASHing"
|
|
|
|
line "at the same time!"
|
|
|
|
|
|
|
|
para "Look at the water"
|
|
|
|
line "going everywhere!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-07 10:13:59 +00:00
|
|
|
PokeDollVendingMachineText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "A vending machine"
|
|
|
|
line "for #MON dolls?"
|
|
|
|
|
|
|
|
para "Insert money, then"
|
|
|
|
line "turn the crank…"
|
|
|
|
|
|
|
|
para "But it's almost"
|
|
|
|
line "empty…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
GoldenrodDeptStoreRoof_MapEvents:
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0, 0 ; filler
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 1 ; warp events
|
2018-02-02 03:22:07 +00:00
|
|
|
warp_event 13, 1, GOLDENROD_DEPT_STORE_6F, 3
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0 ; coord events
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 4 ; bg events
|
2018-02-02 03:22:07 +00:00
|
|
|
bg_event 15, 3, BGEVENT_RIGHT, Binoculars1
|
|
|
|
bg_event 15, 5, BGEVENT_RIGHT, Binoculars2
|
|
|
|
bg_event 15, 6, BGEVENT_RIGHT, Binoculars3
|
|
|
|
bg_event 3, 0, BGEVENT_UP, PokeDollVendingMachine
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 8 ; object events
|
2018-02-28 21:50:43 +00:00
|
|
|
object_event 1, 4, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStoreRoofClerkScript, EVENT_GOLDENROD_SALE_OFF
|
2018-02-02 03:22:07 +00:00
|
|
|
object_event 10, 3, SPRITE_POKEFAN_F, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStoreRoofPokefanFScript, -1
|
2018-03-01 18:18:51 +00:00
|
|
|
object_event 2, 1, SPRITE_FISHER, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStoreRoofFisherScript, -1
|
2018-02-02 03:22:07 +00:00
|
|
|
object_event 3, 4, SPRITE_TWIN, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStoreRoofTwinScript, EVENT_GOLDENROD_SALE_ON
|
2018-03-01 18:18:51 +00:00
|
|
|
object_event 14, 6, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStoreRoofSuperNerdScript, EVENT_GOLDENROD_SALE_ON
|
2018-02-02 03:22:07 +00:00
|
|
|
object_event 7, 0, SPRITE_POKEFAN_M, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStoreRoofPokefanMScript, EVENT_GOLDENROD_SALE_OFF
|
|
|
|
object_event 5, 3, SPRITE_TEACHER, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStoreRoofTeacherScript, EVENT_GOLDENROD_SALE_OFF
|
|
|
|
object_event 1, 6, SPRITE_BUG_CATCHER, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStoreRoofBugCatcherScript, EVENT_GOLDENROD_SALE_OFF
|