pokecrystal/maps/SlowpokeWellB1F.asm

402 lines
7.0 KiB
NASM
Raw Normal View History

2015-07-10 08:20:21 +00:00
SlowpokeWellB1F_MapScriptHeader:
; trigger count
db 0
; callback count
db 0
2015-07-10 08:20:21 +00:00
KurtScript_0x5a5d5:
jumptextfaceplayer UnknownText_0x5a6b5
2015-07-10 08:20:21 +00:00
TrainerGruntM29:
; bit/flag number
dw EVENT_BEAT_ROCKET_GRUNTM_29
; trainer group && trainer id
db GRUNTM, 29
; text when seen
dw GruntM29SeenText
; text when trainer beaten
dw GruntM29BeatenText
; script when lost
dw $0000
; script when talk again
dw GruntM29Script
2015-07-10 08:20:21 +00:00
GruntM29Script:
talkaftercancel
loadfont
2015-01-20 08:01:23 +00:00
writetext TrainerGruntM29SlowpokeProfitText
closetext
loadmovesprites
end
2015-07-10 08:20:21 +00:00
TrainerGruntM1:
; bit/flag number
2015-07-10 08:20:21 +00:00
dw EVENT_BEAT_ROCKET_GRUNTM_1
; trainer group && trainer id
db GRUNTM, 1
; text when seen
dw GruntM1SeenText
; text when trainer beaten
dw GruntM1BeatenText
; script when lost
dw $0000
; script when talk again
dw GruntM1Script
2015-07-10 08:20:21 +00:00
GruntM1Script:
loadfont
2015-01-20 08:01:23 +00:00
writetext TrainerGruntM1WhenTalkText
closetext
loadmovesprites
special Function8c0b6
special Functiond91
disappear $2
disappear $3
disappear $4
disappear $5
pause 15
special Function8c0ab
disappear $8
moveperson $8, $b, $6
appear $8
applymovement $8, KurtSlowpokeWellVictoryMovementData
spriteface $0, RIGHT
loadfont
2015-01-20 08:01:23 +00:00
writetext KurtLeaveSlowpokeWellText
closetext
loadmovesprites
2013-09-24 07:48:58 +00:00
setevent EVENT_CLEARED_SLOWPOKE_WELL
variablesprite SPRITE_AZALEA_ROCKET, SPRITE_SILVER
domaptrigger GROUP_AZALEA_TOWN, MAP_AZALEA_TOWN, $1
clearevent EVENT_6F3
clearevent EVENT_6E9
setevent EVENT_6F5
setevent EVENT_6F6
setevent EVENT_6FB
setevent EVENT_740
clearevent EVENT_6F9
clearevent EVENT_6FD
clearevent EVENT_73E
special Function8c084
special HealParty
pause 15
warp GROUP_KURTS_HOUSE, MAP_KURTS_HOUSE, $3, $3
end
2015-07-10 08:20:21 +00:00
TrainerGruntM2:
; bit/flag number
2015-07-10 08:20:21 +00:00
dw EVENT_BEAT_ROCKET_GRUNTM_2
; trainer group && trainer id
db GRUNTM, 2
; text when seen
dw GruntM2SeenText
; text when trainer beaten
dw GruntM2BeatenText
; script when lost
dw $0000
; script when talk again
dw GruntM2Script
2015-07-10 08:20:21 +00:00
GruntM2Script:
talkaftercancel
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x5aaf2
closetext
loadmovesprites
end
2015-07-10 08:20:21 +00:00
TrainerGruntF1:
; bit/flag number
2015-07-10 08:20:21 +00:00
dw EVENT_BEAT_ROCKET_GRUNTF_1
; trainer group && trainer id
db GRUNTF, 1
; text when seen
dw GruntF1SeenText
; text when trainer beaten
dw GruntF1BeatenText
; script when lost
dw $0000
; script when talk again
dw GruntF1Script
2015-07-10 08:20:21 +00:00
GruntF1Script:
talkaftercancel
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x5ab8d
closetext
loadmovesprites
end
2015-07-10 08:20:21 +00:00
SlowpokeScript_0x5a681:
faceplayer
loadfont
cry SLOWPOKE
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x5abcb
yesorno
iftrue UnknownScript_0x5a68f
loadmovesprites
end
2015-07-10 08:20:21 +00:00
UnknownScript_0x5a68f:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x5ac09
closetext
loadmovesprites
end
2015-07-10 08:20:21 +00:00
SlowpokeScript_0x5a695:
faceplayer
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x5ac61
cry SLOWPOKE
closetext
loadmovesprites
end
2015-06-26 04:01:08 +00:00
SlowpokeWellB1FBoulder:
2015-06-23 21:02:58 +00:00
jumpstd strengthboulder
2015-07-10 08:20:21 +00:00
ItemFragment_0x5a6a3:
db SUPER_POTION, 1
2015-07-10 08:20:21 +00:00
KurtSlowpokeWellVictoryMovementData:
step_left
step_left
step_left
step_left
step_up
accelerate_last
accelerate_last
accelerate_last
step_left
step_up
step_up
accelerate_last
accelerate_last
accelerate_last
turn_head_left
step_end
2015-07-10 08:20:21 +00:00
UnknownText_0x5a6b5:
text "KURT: Hey there,"
line "<PLAYER>!"
para "The guard up top"
line "took off when I"
cont "shouted at him."
para "But then I took a"
line "tumble down the"
cont "WELL."
para "I slammed down"
line "hard on my back,"
cont "so I can't move."
para "Rats! If I were"
line "fit, my #MON"
para "would've punished"
line "them…"
para "Ah, it can't be"
line "helped."
para "<PLAYER>, show them"
line "how gutsy you are"
cont "in my place!"
done
2015-07-10 08:20:21 +00:00
KurtLeaveSlowpokeWellText:
text "KURT: Way to go,"
line "<PLAYER>!"
para "TEAM ROCKET has"
line "taken off."
para "My back's better"
line "too. Let's get out"
cont "of here."
done
2015-07-10 08:20:21 +00:00
GruntM29SeenText:
text "Darn! I was stand-"
line "ing guard up top"
para "when some old coot"
line "yelled at me."
para "He startled me so"
line "much that I fell"
cont "down here."
para "I think I'll vent"
line "my anger by taking"
cont "it out on you!"
done
2015-07-10 08:20:21 +00:00
GruntM29BeatenText:
text "Arrgh! This is NOT"
line "my day!"
done
2015-07-10 08:20:21 +00:00
TrainerGruntM29SlowpokeProfitText:
text "Sure, we've been"
line "hacking the tails"
para "off SLOWPOKE and"
line "selling them."
para "Everything we do"
line "is for profit."
para "That's right!"
line "We're TEAM ROCKET,"
para "and we'll do any-"
line "thing for money!"
done
2015-07-10 08:20:21 +00:00
GruntM1SeenText:
text "What do you want?"
para "If you interrupt"
line "our work, don't"
cont "expect any mercy!"
done
2015-07-10 08:20:21 +00:00
GruntM1BeatenText:
text "You did OK today,"
line "but wait till next"
cont "time!"
done
2015-07-10 08:20:21 +00:00
TrainerGruntM1WhenTalkText:
text "Yeah, TEAM ROCKET"
line "was broken up"
cont "three years ago."
para "But we continued"
line "our activities"
cont "underground."
para "Now you can have"
line "fun watching us"
cont "stir up trouble!"
done
2015-07-10 08:20:21 +00:00
GruntM2SeenText:
text "Quit taking SLOW-"
line "POKETAILS?"
para "If we obeyed you,"
line "TEAM ROCKET's rep"
cont "would be ruined!"
done
2015-07-10 08:20:21 +00:00
GruntM2BeatenText:
text "Just…"
line "Too strong…"
done
2015-07-10 08:20:21 +00:00
UnknownText_0x5aaf2:
text "We need the money,"
line "but selling SLOW-"
cont "POKETAILS?"
para "It's tough being a"
line "ROCKET GRUNT!"
done
2015-07-10 08:20:21 +00:00
GruntF1SeenText:
text "Stop taking TAILS?"
para "Yeah, just try to"
line "defeat all of us!"
done
2015-07-10 08:20:21 +00:00
GruntF1BeatenText:
text "You rotten brat!"
done
2015-07-10 08:20:21 +00:00
UnknownText_0x5ab8d:
text "SLOWPOKETAILS"
line "grow back fast!"
para "What's wrong with"
line "selling them?"
done
2015-07-10 08:20:21 +00:00
UnknownText_0x5abcb:
text "A SLOWPOKE with"
line "its TAIL cut off…"
para "Huh? It has MAIL."
line "Read it?"
done
2015-07-10 08:20:21 +00:00
UnknownText_0x5ac09:
text "<PLAYER> read the"
line "MAIL."
para "Be good and look"
line "after the house"
para "with Grandpa and"
line "SLOWPOKE."
para "Love, Dad"
done
2015-07-10 08:20:21 +00:00
UnknownText_0x5ac61:
text "A SLOWPOKE with"
line "its TAIL cut off…"
done
2015-07-10 08:20:21 +00:00
SlowpokeWellB1F_MapEventHeader:
; filler
db 0, 0
; warps
db 2
warp_def $f, $11, 6, GROUP_AZALEA_TOWN, MAP_AZALEA_TOWN
warp_def $b, $7, 1, GROUP_SLOWPOKE_WELL_B2F, MAP_SLOWPOKE_WELL_B2F
; xy triggers
db 0
; signposts
db 0
; people-events
db 9
person_event SPRITE_ROCKET, 11, 19, UP << 2 | $2, $0, -1, -1, $2, 3, TrainerGruntM29, EVENT_6FC
person_event SPRITE_ROCKET, 6, 9, UP << 2 | $2, $0, -1, -1, $2, 1, TrainerGruntM1, EVENT_6FC
person_event SPRITE_ROCKET, 10, 9, LEFT << 2 | $1, $0, -1, -1, $2, 2, TrainerGruntM2, EVENT_6FC
person_event SPRITE_ROCKET_GIRL, 8, 14, LEFT << 2 | $1, $0, -1, -1, (PAL_OW_RED << 4) | $82, 4, TrainerGruntF1, EVENT_6FC
person_event SPRITE_SLOWPOKE, 8, 11, DOWN << 2 | $1, $0, -1, -1, (PAL_OW_RED << 4) | $80, 0, SlowpokeScript_0x5a681, EVENT_6FB
person_event SPRITE_SLOWPOKE, 6, 10, DOWN << 2 | $1, $0, -1, -1, (PAL_OW_RED << 4) | $80, 0, SlowpokeScript_0x5a695, EVENT_6FB
person_event SPRITE_KURT, 18, 20, UP << 2 | $3, $0, -1, -1, $0, 0, KurtScript_0x5a5d5, EVENT_740
person_event SPRITE_BOULDER, 6, 7, LEFT << 2 | $11, $0, -1, -1, $0, 0, SlowpokeWellB1FBoulder, -1
person_event SPRITE_POKE_BALL, 7, 14, DOWN << 2 | $1, $0, -1, -1, $1, 0, ItemFragment_0x5a6a3, EVENT_662