pokecrystal/maps/MountMoonSquare.asm

152 lines
3.5 KiB
NASM
Raw Normal View History

object_const_def
2015-11-27 05:22:14 +00:00
const MOUNTMOONSQUARE_FAIRY1
const MOUNTMOONSQUARE_FAIRY2
const MOUNTMOONSQUARE_ROCK
MountMoonSquare_MapScripts:
def_scene_scripts
scene_script .DummyScene ; SCENE_DEFAULT
def_callbacks
callback MAPCALLBACK_NEWMAP, .DisappearMoonStone
callback MAPCALLBACK_OBJECTS, .DisappearRock
.DummyScene:
end
2016-05-14 17:46:14 +00:00
.DisappearMoonStone:
setevent EVENT_MOUNT_MOON_SQUARE_HIDDEN_MOON_STONE
endcallback
2016-05-14 17:46:14 +00:00
.DisappearRock:
2015-11-27 05:22:14 +00:00
disappear MOUNTMOONSQUARE_ROCK
endcallback
2016-04-07 04:59:45 +00:00
ClefairyDance:
2015-07-10 12:08:03 +00:00
checkflag ENGINE_MT_MOON_SQUARE_CLEFAIRY
iftrue .NoDancing
readvar VAR_WEEKDAY
2018-02-03 02:09:17 +00:00
ifnotequal MONDAY, .NoDancing
checktime NITE
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
pause 15
2015-11-27 05:22:14 +00:00
appear MOUNTMOONSQUARE_ROCK
turnobject MOUNTMOONSQUARE_FAIRY1, RIGHT
cry CLEFAIRY
2015-11-25 15:16:29 +00:00
waitsfx
pause 30
2015-11-27 05:22:14 +00:00
follow MOUNTMOONSQUARE_FAIRY1, MOUNTMOONSQUARE_FAIRY2
cry CLEFAIRY
2016-05-14 17:46:14 +00:00
applymovement MOUNTMOONSQUARE_FAIRY1, ClefairyDanceStep1
cry CLEFAIRY
2016-05-14 17:46:14 +00:00
applymovement MOUNTMOONSQUARE_FAIRY1, ClefairyDanceStep2
cry CLEFAIRY
2016-05-14 17:46:14 +00:00
applymovement MOUNTMOONSQUARE_FAIRY1, ClefairyDanceStep3
cry CLEFAIRY
2016-05-14 17:46:14 +00:00
applymovement MOUNTMOONSQUARE_FAIRY1, ClefairyDanceStep4
cry CLEFAIRY
2016-05-14 17:46:14 +00:00
applymovement MOUNTMOONSQUARE_FAIRY1, ClefairyDanceStep5
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
stopfollow
turnobject MOUNTMOONSQUARE_FAIRY1, DOWN
pause 10
2015-11-27 05:22:14 +00:00
showemote EMOTE_SHOCK, MOUNTMOONSQUARE_FAIRY1, 15
turnobject MOUNTMOONSQUARE_FAIRY1, DOWN
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
stopfollow
clearevent EVENT_MOUNT_MOON_SQUARE_HIDDEN_MOON_STONE
2015-07-10 12:08:03 +00:00
setflag ENGINE_MT_MOON_SQUARE_CLEFAIRY
end
.NoDancing:
end
MountMoonSquareHiddenMoonStone:
hiddenitem MOON_STONE, EVENT_MOUNT_MOON_SQUARE_HIDDEN_MOON_STONE
2016-04-07 04:59:45 +00:00
DontLitterSign:
jumptext DontLitterSignText
2015-06-26 04:01:08 +00:00
MtMoonSquareRock:
jumpstd SmashRockScript
2016-05-14 17:46:14 +00:00
PlayerWalksUpToDancingClefairies:
step UP
step_end
2016-05-14 17:46:14 +00:00
ClefairyDanceStep1:
slow_step DOWN
slow_jump_step DOWN
step_end
2016-05-14 17:46:14 +00:00
ClefairyDanceStep2:
slow_jump_step RIGHT
step_end
2016-05-14 17:46:14 +00:00
ClefairyDanceStep3:
slow_step UP
slow_jump_step UP
step_end
2016-05-14 17:46:14 +00:00
ClefairyDanceStep4:
slow_jump_step LEFT
step_end
2016-05-14 17:46:14 +00:00
ClefairyDanceStep5:
slow_step DOWN
slow_jump_step DOWN
step_end
2016-05-14 17:46:14 +00:00
ClefairyDanceStep6:
slow_step DOWN
step_end
2016-05-14 17:46:14 +00:00
ClefairyDanceStep7:
slow_step RIGHT
step_end
2016-05-14 17:46:14 +00:00
ClefairyFleeMovement:
step RIGHT
step RIGHT
step RIGHT
jump_step RIGHT
step RIGHT
step RIGHT
step_end
2016-04-07 04:59:45 +00:00
DontLitterSignText:
text "MT.MOON SQUARE"
line "DON'T LITTER"
done
MountMoonSquare_MapEvents:
db 0, 0 ; filler
def_warp_events
2018-02-02 03:22:07 +00:00
warp_event 20, 5, MOUNT_MOON, 5
2018-02-02 02:54:00 +00:00
warp_event 22, 11, MOUNT_MOON, 6
2018-02-02 03:22:07 +00:00
warp_event 13, 7, MOUNT_MOON_GIFT_SHOP, 1
def_coord_events
2018-02-02 03:22:07 +00:00
coord_event 7, 11, SCENE_DEFAULT, ClefairyDance
def_bg_events
2018-02-02 03:22:07 +00:00
bg_event 7, 7, BGEVENT_ITEM, MountMoonSquareHiddenMoonStone
bg_event 17, 7, BGEVENT_READ, DontLitterSign
def_object_events
2018-02-02 03:22:07 +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