pokecrystal/maps/MountMoonSquare.asm

161 lines
3.0 KiB
NASM
Raw Normal View History

2015-07-10 08:45:35 +00:00
MountMoonSquare_MapScriptHeader:
; trigger count
db 1
; triggers
dw UnknownScript_0x77092, $0000
; callback count
db 2
; callbacks
dbw 5, UnknownScript_0x77093
dbw 2, UnknownScript_0x77097
2015-07-10 08:45:35 +00:00
UnknownScript_0x77092:
end
2015-07-10 08:45:35 +00:00
UnknownScript_0x77093:
setevent EVENT_MOUNT_MOON_SQUARE_HIDDEN_MOON_STONE
return
2015-07-10 08:45:35 +00:00
UnknownScript_0x77097:
disappear $4
return
2015-07-10 08:45:35 +00:00
UnknownScript_0x7709a:
2015-07-10 12:08:03 +00:00
checkflag ENGINE_MT_MOON_SQUARE_CLEFAIRY
iftrue .NoDancing
checkcode VAR_WEEKDAY
if_not_equal MONDAY, .NoDancing
checknite
iffalse .NoDancing
appear $2
appear $3
applymovement $0, MovementData_0x77121
pause 15
appear $4
spriteface $2, RIGHT
cry CLEFAIRY
waitbutton
pause 30
follow $2, $3
cry CLEFAIRY
applymovement $2, MovementData_0x77123
cry CLEFAIRY
applymovement $2, MovementData_0x77126
cry CLEFAIRY
applymovement $2, MovementData_0x77128
cry CLEFAIRY
applymovement $2, MovementData_0x7712b
cry CLEFAIRY
applymovement $2, MovementData_0x7712d
stopfollow
applymovement $3, MovementData_0x77130
follow $2, $3
applymovement $2, MovementData_0x77132
stopfollow
spriteface $2, DOWN
pause 10
showemote EMOTE_SHOCK, $2, 15
spriteface $2, DOWN
cry CLEFAIRY
pause 15
follow $2, $3
applymovement $2, MovementData_0x77134
disappear $2
disappear $3
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
2015-07-10 08:45:35 +00:00
MapMountMoonSquareSignpostItem0:
dwb EVENT_MOUNT_MOON_SQUARE_HIDDEN_MOON_STONE, MOON_STONE
2015-07-10 08:45:35 +00:00
MapMountMoonSquareSignpost1Script:
jumptext UnknownText_0x7713b
2015-06-26 04:01:08 +00:00
MtMoonSquareRock:
2015-06-23 21:02:58 +00:00
jumpstd smashrock
2015-07-10 08:45:35 +00:00
MovementData_0x77121:
step_up
step_end
2015-07-10 08:45:35 +00:00
MovementData_0x77123:
slow_step_down
slow_jump_step_down
step_end
2015-07-10 08:45:35 +00:00
MovementData_0x77126:
slow_jump_step_right
step_end
2015-07-10 08:45:35 +00:00
MovementData_0x77128:
slow_step_up
slow_jump_step_up
step_end
2015-07-10 08:45:35 +00:00
MovementData_0x7712b:
slow_jump_step_left
step_end
2015-07-10 08:45:35 +00:00
MovementData_0x7712d:
slow_step_down
slow_jump_step_down
step_end
2015-07-10 08:45:35 +00:00
MovementData_0x77130:
slow_step_down
step_end
2015-07-10 08:45:35 +00:00
MovementData_0x77132:
slow_step_right
step_end
2015-07-10 08:45:35 +00:00
MovementData_0x77134:
step_right
step_right
step_right
jump_step_right
step_right
step_right
step_end
2015-07-10 08:45:35 +00:00
UnknownText_0x7713b:
text "MT.MOON SQUARE"
line "DON'T LITTER"
done
2015-07-10 08:45:35 +00:00
MountMoonSquare_MapEventHeader:
; filler
db 0, 0
; warps
db 3
warp_def $5, $14, 5, GROUP_MOUNT_MOON, MAP_MOUNT_MOON
warp_def $b, $16, 6, GROUP_MOUNT_MOON, MAP_MOUNT_MOON
warp_def $7, $d, 1, GROUP_MOUNT_MOON_GIFT_SHOP, MAP_MOUNT_MOON_GIFT_SHOP
; xy triggers
db 1
xy_trigger 0, $b, $7, $0, UnknownScript_0x7709a, $0, $0
; signposts
db 2
signpost 7, 7, SIGNPOST_ITEM, MapMountMoonSquareSignpostItem0
signpost 7, 17, SIGNPOST_READ, MapMountMoonSquareSignpost1Script
; people-events
db 3
person_event SPRITE_FAIRY, 10, 10, OW_UP | $2, $0, -1, -1, $0, 0, ObjectEvent, EVENT_MT_MOON_SQUARE_CLEFAIRY
person_event SPRITE_FAIRY, 10, 11, OW_UP | $2, $0, -1, -1, $0, 0, ObjectEvent, EVENT_MT_MOON_SQUARE_CLEFAIRY
person_event SPRITE_ROCK, 11, 11, OW_LEFT | $10, $0, -1, -1, $0, 0, MtMoonSquareRock, EVENT_MT_MOON_SQUARE_ROCK