2018-01-31 16:38:45 +00:00
|
|
|
const_def 2 ; object constants
|
2015-11-27 05:22:14 +00:00
|
|
|
const MOUNTMOONSQUARE_FAIRY1
|
|
|
|
const MOUNTMOONSQUARE_FAIRY2
|
|
|
|
const MOUNTMOONSQUARE_ROCK
|
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
MountMoonSquare_MapScripts:
|
2018-01-30 19:15:47 +00:00
|
|
|
db 1 ; scene scripts
|
2018-02-01 20:06:06 +00:00
|
|
|
scene_script .DummyScene ; SCENE_DEFAULT
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 2 ; callbacks
|
2018-02-01 20:06:06 +00:00
|
|
|
callback MAPCALLBACK_NEWMAP, .DisappearMoonStone
|
|
|
|
callback MAPCALLBACK_OBJECTS, .DisappearRock
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-24 18:46:34 +00:00
|
|
|
.DummyScene:
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2016-05-14 17:46:14 +00:00
|
|
|
.DisappearMoonStone:
|
2016-04-10 18:42:14 +00:00
|
|
|
setevent EVENT_MOUNT_MOON_SQUARE_HIDDEN_MOON_STONE
|
2013-02-17 06:54:07 +00:00
|
|
|
return
|
|
|
|
|
2016-05-14 17:46:14 +00:00
|
|
|
.DisappearRock:
|
2015-11-27 05:22:14 +00:00
|
|
|
disappear MOUNTMOONSQUARE_ROCK
|
2013-02-17 06:54:07 +00:00
|
|
|
return
|
|
|
|
|
2016-04-07 04:59:45 +00:00
|
|
|
ClefairyDance:
|
2015-07-10 12:08:03 +00:00
|
|
|
checkflag ENGINE_MT_MOON_SQUARE_CLEFAIRY
|
2015-07-18 19:46:38 +00:00
|
|
|
iftrue .NoDancing
|
2015-07-10 02:08:03 +00:00
|
|
|
checkcode VAR_WEEKDAY
|
2015-07-18 19:46:38 +00:00
|
|
|
if_not_equal MONDAY, .NoDancing
|
2015-06-23 18:28:48 +00:00
|
|
|
checknite
|
2015-07-18 19:46:38 +00:00
|
|
|
iffalse .NoDancing
|
2015-11-27 05:22:14 +00:00
|
|
|
appear MOUNTMOONSQUARE_FAIRY1
|
|
|
|
appear MOUNTMOONSQUARE_FAIRY2
|
2016-05-14 17:46:14 +00:00
|
|
|
applymovement PLAYER, PlayerWalksUpToDancingClefairies
|
2013-02-17 06:54:07 +00:00
|
|
|
pause 15
|
2015-11-27 05:22:14 +00:00
|
|
|
appear MOUNTMOONSQUARE_ROCK
|
|
|
|
spriteface MOUNTMOONSQUARE_FAIRY1, RIGHT
|
2013-02-17 06:54:07 +00:00
|
|
|
cry CLEFAIRY
|
2015-11-25 15:16:29 +00:00
|
|
|
waitsfx
|
2013-02-17 06:54:07 +00:00
|
|
|
pause 30
|
2015-11-27 05:22:14 +00:00
|
|
|
follow MOUNTMOONSQUARE_FAIRY1, MOUNTMOONSQUARE_FAIRY2
|
2013-02-17 06:54:07 +00:00
|
|
|
cry CLEFAIRY
|
2016-05-14 17:46:14 +00:00
|
|
|
applymovement MOUNTMOONSQUARE_FAIRY1, ClefairyDanceStep1
|
2013-02-17 06:54:07 +00:00
|
|
|
cry CLEFAIRY
|
2016-05-14 17:46:14 +00:00
|
|
|
applymovement MOUNTMOONSQUARE_FAIRY1, ClefairyDanceStep2
|
2013-02-17 06:54:07 +00:00
|
|
|
cry CLEFAIRY
|
2016-05-14 17:46:14 +00:00
|
|
|
applymovement MOUNTMOONSQUARE_FAIRY1, ClefairyDanceStep3
|
2013-02-17 06:54:07 +00:00
|
|
|
cry CLEFAIRY
|
2016-05-14 17:46:14 +00:00
|
|
|
applymovement MOUNTMOONSQUARE_FAIRY1, ClefairyDanceStep4
|
2013-02-17 06:54:07 +00:00
|
|
|
cry CLEFAIRY
|
2016-05-14 17:46:14 +00:00
|
|
|
applymovement MOUNTMOONSQUARE_FAIRY1, ClefairyDanceStep5
|
2013-02-17 06:54:07 +00:00
|
|
|
stopfollow
|
2016-05-14 17:46:14 +00:00
|
|
|
applymovement MOUNTMOONSQUARE_FAIRY2, ClefairyDanceStep6
|
2015-11-27 05:22:14 +00:00
|
|
|
follow MOUNTMOONSQUARE_FAIRY1, MOUNTMOONSQUARE_FAIRY2
|
2016-05-14 17:46:14 +00:00
|
|
|
applymovement MOUNTMOONSQUARE_FAIRY1, ClefairyDanceStep7
|
2013-02-17 06:54:07 +00:00
|
|
|
stopfollow
|
2015-11-27 05:22:14 +00:00
|
|
|
spriteface MOUNTMOONSQUARE_FAIRY1, DOWN
|
2013-02-17 06:54:07 +00:00
|
|
|
pause 10
|
2015-11-27 05:22:14 +00:00
|
|
|
showemote EMOTE_SHOCK, MOUNTMOONSQUARE_FAIRY1, 15
|
|
|
|
spriteface MOUNTMOONSQUARE_FAIRY1, DOWN
|
2013-02-17 06:54:07 +00:00
|
|
|
cry CLEFAIRY
|
|
|
|
pause 15
|
2015-11-27 05:22:14 +00:00
|
|
|
follow MOUNTMOONSQUARE_FAIRY1, MOUNTMOONSQUARE_FAIRY2
|
2016-05-14 17:46:14 +00:00
|
|
|
applymovement MOUNTMOONSQUARE_FAIRY1, ClefairyFleeMovement
|
2015-11-27 05:22:14 +00:00
|
|
|
disappear MOUNTMOONSQUARE_FAIRY1
|
|
|
|
disappear MOUNTMOONSQUARE_FAIRY2
|
2013-02-17 06:54:07 +00:00
|
|
|
stopfollow
|
2015-07-18 19:46:38 +00:00
|
|
|
clearevent EVENT_MOUNT_MOON_SQUARE_HIDDEN_MOON_STONE
|
2015-07-10 12:08:03 +00:00
|
|
|
setflag ENGINE_MT_MOON_SQUARE_CLEFAIRY
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-18 19:46:38 +00:00
|
|
|
.NoDancing:
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-12-15 16:21:58 +00:00
|
|
|
MountMoonSquareHiddenMoonStone:
|
2018-01-23 17:59:21 +00:00
|
|
|
hiddenitem MOON_STONE, EVENT_MOUNT_MOON_SQUARE_HIDDEN_MOON_STONE
|
2016-04-10 18:42:14 +00:00
|
|
|
|
2016-04-07 04:59:45 +00:00
|
|
|
DontLitterSign:
|
|
|
|
jumptext DontLitterSignText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
MtMoonSquareRock:
|
2015-06-23 21:02:58 +00:00
|
|
|
jumpstd smashrock
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-05-14 17:46:14 +00:00
|
|
|
PlayerWalksUpToDancingClefairies:
|
|
|
|
step UP
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2016-05-14 17:46:14 +00:00
|
|
|
ClefairyDanceStep1:
|
|
|
|
slow_step DOWN
|
|
|
|
slow_jump_step DOWN
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2016-05-14 17:46:14 +00:00
|
|
|
ClefairyDanceStep2:
|
|
|
|
slow_jump_step RIGHT
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2016-05-14 17:46:14 +00:00
|
|
|
ClefairyDanceStep3:
|
|
|
|
slow_step UP
|
|
|
|
slow_jump_step UP
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2016-05-14 17:46:14 +00:00
|
|
|
ClefairyDanceStep4:
|
|
|
|
slow_jump_step LEFT
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2016-05-14 17:46:14 +00:00
|
|
|
ClefairyDanceStep5:
|
|
|
|
slow_step DOWN
|
|
|
|
slow_jump_step DOWN
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2016-05-14 17:46:14 +00:00
|
|
|
ClefairyDanceStep6:
|
|
|
|
slow_step DOWN
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2016-05-14 17:46:14 +00:00
|
|
|
ClefairyDanceStep7:
|
|
|
|
slow_step RIGHT
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2016-05-14 17:46:14 +00:00
|
|
|
ClefairyFleeMovement:
|
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
|
|
|
jump_step RIGHT
|
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2016-04-07 04:59:45 +00:00
|
|
|
DontLitterSignText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "MT.MOON SQUARE"
|
|
|
|
line "DON'T LITTER"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
MountMoonSquare_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 3 ; warp events
|
2018-02-02 02:54:00 +00:00
|
|
|
warp_event 20, 5, MOUNT_MOON, 5
|
|
|
|
warp_event 22, 11, MOUNT_MOON, 6
|
|
|
|
warp_event 13, 7, MOUNT_MOON_GIFT_SHOP, 1
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 1 ; coord events
|
2018-02-01 17:40:58 +00:00
|
|
|
coord_event 7, 11, SCENE_DEFAULT, ClefairyDance
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 2 ; bg events
|
2017-12-24 18:46:34 +00:00
|
|
|
bg_event 7, 7, BGEVENT_ITEM, MountMoonSquareHiddenMoonStone
|
2017-12-28 19:31:25 +00:00
|
|
|
bg_event 17, 7, BGEVENT_READ, DontLitterSign
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 3 ; object events
|
2017-12-28 19:31:25 +00:00
|
|
|
object_event 6, 6, SPRITE_FAIRY, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_MT_MOON_SQUARE_CLEFAIRY
|
|
|
|
object_event 7, 6, SPRITE_FAIRY, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_MT_MOON_SQUARE_CLEFAIRY
|
|
|
|
object_event 7, 7, SPRITE_ROCK, SPRITEMOVEDATA_SMASHABLE_ROCK, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, MtMoonSquareRock, EVENT_MT_MOON_SQUARE_ROCK
|