pokecrystal-board/maps/MountMoonSquare.asm

160 lines
3.5 KiB
NASM
Raw Normal View History

2015-11-26 21:22:14 -08:00
const_value set 2
const MOUNTMOONSQUARE_FAIRY1
const MOUNTMOONSQUARE_FAIRY2
const MOUNTMOONSQUARE_ROCK
2015-07-10 01:45:35 -07:00
MountMoonSquare_MapScriptHeader:
.SceneScripts:
db 1
scene_script .DummyScene
.MapCallbacks:
db 2
2016-05-14 10:46:14 -07:00
dbw MAPCALLBACK_NEWMAP, .DisappearMoonStone
dbw MAPCALLBACK_OBJECTS, .DisappearRock
.DummyScene:
end
2016-05-14 10:46:14 -07:00
.DisappearMoonStone:
setevent EVENT_MOUNT_MOON_SQUARE_HIDDEN_MOON_STONE
return
2016-05-14 10:46:14 -07:00
.DisappearRock:
2015-11-26 21:22:14 -08:00
disappear MOUNTMOONSQUARE_ROCK
return
2016-04-06 21:59:45 -07:00
ClefairyDance:
2015-07-10 05:08:03 -07:00
checkflag ENGINE_MT_MOON_SQUARE_CLEFAIRY
iftrue .NoDancing
checkcode VAR_WEEKDAY
if_not_equal MONDAY, .NoDancing
checknite
iffalse .NoDancing
2015-11-26 21:22:14 -08:00
appear MOUNTMOONSQUARE_FAIRY1
appear MOUNTMOONSQUARE_FAIRY2
2016-05-14 10:46:14 -07:00
applymovement PLAYER, PlayerWalksUpToDancingClefairies
pause 15
2015-11-26 21:22:14 -08:00
appear MOUNTMOONSQUARE_ROCK
spriteface MOUNTMOONSQUARE_FAIRY1, RIGHT
cry CLEFAIRY
2015-11-25 07:16:29 -08:00
waitsfx
pause 30
2015-11-26 21:22:14 -08:00
follow MOUNTMOONSQUARE_FAIRY1, MOUNTMOONSQUARE_FAIRY2
cry CLEFAIRY
2016-05-14 10:46:14 -07:00
applymovement MOUNTMOONSQUARE_FAIRY1, ClefairyDanceStep1
cry CLEFAIRY
2016-05-14 10:46:14 -07:00
applymovement MOUNTMOONSQUARE_FAIRY1, ClefairyDanceStep2
cry CLEFAIRY
2016-05-14 10:46:14 -07:00
applymovement MOUNTMOONSQUARE_FAIRY1, ClefairyDanceStep3
cry CLEFAIRY
2016-05-14 10:46:14 -07:00
applymovement MOUNTMOONSQUARE_FAIRY1, ClefairyDanceStep4
cry CLEFAIRY
2016-05-14 10:46:14 -07:00
applymovement MOUNTMOONSQUARE_FAIRY1, ClefairyDanceStep5
stopfollow
2016-05-14 10:46:14 -07:00
applymovement MOUNTMOONSQUARE_FAIRY2, ClefairyDanceStep6
2015-11-26 21:22:14 -08:00
follow MOUNTMOONSQUARE_FAIRY1, MOUNTMOONSQUARE_FAIRY2
2016-05-14 10:46:14 -07:00
applymovement MOUNTMOONSQUARE_FAIRY1, ClefairyDanceStep7
stopfollow
2015-11-26 21:22:14 -08:00
spriteface MOUNTMOONSQUARE_FAIRY1, DOWN
pause 10
2015-11-26 21:22:14 -08:00
showemote EMOTE_SHOCK, MOUNTMOONSQUARE_FAIRY1, 15
spriteface MOUNTMOONSQUARE_FAIRY1, DOWN
cry CLEFAIRY
pause 15
2015-11-26 21:22:14 -08:00
follow MOUNTMOONSQUARE_FAIRY1, MOUNTMOONSQUARE_FAIRY2
2016-05-14 10:46:14 -07:00
applymovement MOUNTMOONSQUARE_FAIRY1, ClefairyFleeMovement
2015-11-26 21:22:14 -08:00
disappear MOUNTMOONSQUARE_FAIRY1
disappear MOUNTMOONSQUARE_FAIRY2
stopfollow
clearevent EVENT_MOUNT_MOON_SQUARE_HIDDEN_MOON_STONE
2015-07-10 05:08:03 -07:00
setflag ENGINE_MT_MOON_SQUARE_CLEFAIRY
end
.NoDancing:
end
MountMoonSquareHiddenMoonStone:
dwb EVENT_MOUNT_MOON_SQUARE_HIDDEN_MOON_STONE, MOON_STONE
2016-04-06 21:59:45 -07:00
DontLitterSign:
jumptext DontLitterSignText
2015-06-25 21:01:08 -07:00
MtMoonSquareRock:
2015-06-23 14:02:58 -07:00
jumpstd smashrock
2016-05-14 10:46:14 -07:00
PlayerWalksUpToDancingClefairies:
step UP
step_end
2016-05-14 10:46:14 -07:00
ClefairyDanceStep1:
slow_step DOWN
slow_jump_step DOWN
step_end
2016-05-14 10:46:14 -07:00
ClefairyDanceStep2:
slow_jump_step RIGHT
step_end
2016-05-14 10:46:14 -07:00
ClefairyDanceStep3:
slow_step UP
slow_jump_step UP
step_end
2016-05-14 10:46:14 -07:00
ClefairyDanceStep4:
slow_jump_step LEFT
step_end
2016-05-14 10:46:14 -07:00
ClefairyDanceStep5:
slow_step DOWN
slow_jump_step DOWN
step_end
2016-05-14 10:46:14 -07:00
ClefairyDanceStep6:
slow_step DOWN
step_end
2016-05-14 10:46:14 -07:00
ClefairyDanceStep7:
slow_step RIGHT
step_end
2016-05-14 10:46:14 -07:00
ClefairyFleeMovement:
step RIGHT
step RIGHT
step RIGHT
jump_step RIGHT
step RIGHT
step RIGHT
step_end
2016-04-06 21:59:45 -07:00
DontLitterSignText:
text "MT.MOON SQUARE"
line "DON'T LITTER"
done
2015-07-10 01:45:35 -07:00
MountMoonSquare_MapEventHeader:
; filler
db 0, 0
.Warps:
db 3
warp_def 20, 5, 5, MOUNT_MOON
warp_def 22, 11, 6, MOUNT_MOON
warp_def 13, 7, 1, MOUNT_MOON_GIFT_SHOP
.CoordEvents:
db 1
coord_event 7, 11, 0, ClefairyDance
.BGEvents:
db 2
bg_event 7, 7, BGEVENT_ITEM, MountMoonSquareHiddenMoonStone
bg_event 17, 7, BGEVENT_READ, DontLitterSign
.ObjectEvents:
db 3
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