pokecrystal/maps/LakeOfRage.asm

533 lines
11 KiB
NASM
Raw Normal View History

2015-11-27 05:22:14 +00:00
const_value set 2
const LAKEOFRAGE_LANCE
const LAKEOFRAGE_GRAMPS
const LAKEOFRAGE_SUPER_NERD1
const LAKEOFRAGE_COOLTRAINER_F1
const LAKEOFRAGE_FISHER1
const LAKEOFRAGE_FISHER2
const LAKEOFRAGE_COOLTRAINER_M
const LAKEOFRAGE_COOLTRAINER_F2
const LAKEOFRAGE_GYARADOS
2016-04-07 04:59:45 +00:00
const LAKEOFRAGE_WESLEY
2015-11-27 05:22:14 +00:00
const LAKEOFRAGE_POKE_BALL1
const LAKEOFRAGE_POKE_BALL2
LakeOfRage_MapScriptHeader:
.SceneScripts:
db 2
scene_script .DummyScene0
scene_script .DummyScene1
.MapCallbacks:
db 2
2016-01-06 12:44:50 +00:00
dbw MAPCALLBACK_NEWMAP, .FlyPoint
dbw MAPCALLBACK_OBJECTS, .Wesley
.DummyScene0:
end
.DummyScene1:
end
.FlyPoint:
2015-06-26 05:30:16 +00:00
setflag ENGINE_FLYPOINT_LAKE_OF_RAGE
return
.Wesley:
checkcode VAR_WEEKDAY
2014-10-27 01:37:15 +00:00
if_equal WEDNESDAY, .WesleyAppears
2016-04-07 04:59:45 +00:00
disappear LAKEOFRAGE_WESLEY
return
.WesleyAppears:
2016-04-07 04:59:45 +00:00
appear LAKEOFRAGE_WESLEY
return
2015-06-26 05:30:16 +00:00
LanceScript_0x70022:
2013-09-24 07:48:58 +00:00
checkevent EVENT_REFUSED_TO_HELP_LANCE_AT_LAKE_OF_RAGE
iftrue UnknownScript_0x70057
2015-12-09 23:25:44 +00:00
opentext
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x70157
2015-11-30 03:29:45 +00:00
buttonsound
faceplayer
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x701b4
yesorno
iffalse UnknownScript_0x7004e
2015-06-26 05:30:16 +00:00
UnknownScript_0x70035:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x702c6
2015-11-25 15:16:29 +00:00
waitbutton
closetext
playsound SFX_WARP_TO
2015-11-27 05:22:14 +00:00
applymovement LAKEOFRAGE_LANCE, MovementData_0x70155
disappear LAKEOFRAGE_LANCE
2015-11-03 12:11:32 +00:00
clearevent EVENT_MAHOGANY_MART_LANCE_AND_DRAGONITE
2013-09-24 07:48:58 +00:00
setevent EVENT_DECIDED_TO_HELP_LANCE
setmapscene MAHOGANY_MART_1F, $1
end
2015-06-26 05:30:16 +00:00
UnknownScript_0x7004e:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x70371
2015-11-25 15:16:29 +00:00
waitbutton
closetext
2013-09-24 07:48:58 +00:00
setevent EVENT_REFUSED_TO_HELP_LANCE_AT_LAKE_OF_RAGE
end
2015-06-26 05:30:16 +00:00
UnknownScript_0x70057:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x703a5
yesorno
iffalse UnknownScript_0x7004e
2015-01-20 08:01:23 +00:00
jump UnknownScript_0x70035
2015-06-26 05:30:16 +00:00
GyaradosScript_0x70063:
2015-12-09 23:25:44 +00:00
opentext
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x703cb
pause 15
cry GYARADOS
2015-11-25 15:16:29 +00:00
closetext
loadwildmon GYARADOS, 30
writecode VAR_BATTLETYPE, BATTLETYPE_SHINY
startbattle
if_equal $1, UnknownScript_0x7007a
2015-11-27 05:22:14 +00:00
disappear LAKEOFRAGE_GYARADOS
2015-06-26 05:30:16 +00:00
UnknownScript_0x7007a:
reloadmapafterbattle
2015-12-09 23:25:44 +00:00
opentext
2015-11-05 01:20:14 +00:00
giveitem RED_SCALE
2015-11-25 15:16:29 +00:00
waitsfx
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x703df
playsound SFX_ITEM
2015-11-25 15:16:29 +00:00
waitsfx
itemnotify
2015-11-25 15:16:29 +00:00
closetext
setscene $0
2015-11-27 05:22:14 +00:00
appear LAKEOFRAGE_LANCE
end
2015-06-26 05:30:16 +00:00
GrampsScript_0x7008e:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2013-09-24 07:48:58 +00:00
checkevent EVENT_CLEARED_ROCKET_HIDEOUT
iftrue UnknownScript_0x7009c
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x703f8
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-06-26 05:30:16 +00:00
UnknownScript_0x7009c:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x70421
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2017-12-18 00:48:04 +00:00
LakeOfRageSuperNerdScript:
jumptextfaceplayer LakeOfRageSuperNerdText
2017-12-18 00:48:04 +00:00
LakeOfRageCooltrainerFScript:
jumptextfaceplayer LakeOfRageCooltrainerFText
MapLakeOfRageSignpost0Script:
jumptext UnknownText_0x708d7
MapLakeOfRageSignpost1Script:
2015-12-09 23:25:44 +00:00
opentext
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x70903
2013-09-24 07:48:58 +00:00
checkevent EVENT_CLEARED_ROCKET_HIDEOUT
iftrue UnknownScript_0x700b8
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-06-26 05:30:16 +00:00
UnknownScript_0x700b8:
2015-11-30 03:29:45 +00:00
buttonsound
special Special_MagikarpHouseSign
2015-11-25 15:16:29 +00:00
closetext
end
2015-06-26 05:30:16 +00:00
TrainerFisherAndre:
2017-12-18 01:45:04 +00:00
trainer EVENT_BEAT_FISHER_ANDRE, FISHER, ANDRE, FisherAndreSeenText, FisherAndreBeatenText, 0, .Script
2017-12-18 01:45:04 +00:00
.Script:
2015-11-25 15:16:29 +00:00
end_if_just_battled
2015-12-09 23:25:44 +00:00
opentext
2017-12-10 20:36:58 +00:00
writetext FisherAndreAfterBattleText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-06-26 05:30:16 +00:00
TrainerFisherRaymond:
2017-12-18 01:45:04 +00:00
trainer EVENT_BEAT_FISHER_RAYMOND, FISHER, RAYMOND, FisherRaymondSeenText, FisherRaymondBeatenText, 0, .Script
2017-12-18 01:45:04 +00:00
.Script:
2015-11-25 15:16:29 +00:00
end_if_just_battled
2015-12-09 23:25:44 +00:00
opentext
2017-12-10 20:36:58 +00:00
writetext FisherRaymondAfterBattleText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-06-26 05:30:16 +00:00
TrainerCooltrainermAaron:
2017-12-18 01:45:04 +00:00
trainer EVENT_BEAT_COOLTRAINERM_AARON, COOLTRAINERM, AARON, CooltrainermAaronSeenText, CooltrainermAaronBeatenText, 0, .Script
2017-12-18 01:45:04 +00:00
.Script:
2015-11-25 15:16:29 +00:00
end_if_just_battled
2015-12-09 23:25:44 +00:00
opentext
2017-12-10 20:36:58 +00:00
writetext CooltrainermAaronAfterBattleText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-06-26 05:30:16 +00:00
TrainerCooltrainerfLois:
2017-12-18 01:45:04 +00:00
trainer EVENT_BEAT_COOLTRAINERF_LOIS, COOLTRAINERF, LOIS, CooltrainerfLoisSeenText, CooltrainerfLoisBeatenText, 0, .Script
2017-12-18 01:45:04 +00:00
.Script:
2015-11-25 15:16:29 +00:00
end_if_just_battled
2015-12-09 23:25:44 +00:00
opentext
2017-12-10 20:36:58 +00:00
writetext CooltrainerfLoisAfterBattleText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2014-10-27 01:37:15 +00:00
WesleyScript:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2013-09-24 07:48:58 +00:00
checkevent EVENT_GOT_BLACKBELT_FROM_WESLEY
2014-10-27 01:37:15 +00:00
iftrue WesleyWednesdayScript
checkcode VAR_WEEKDAY
2014-10-27 01:37:15 +00:00
if_not_equal WEDNESDAY, WesleyNotWednesdayScript
2013-09-24 07:48:58 +00:00
checkevent EVENT_MET_WESLEY_OF_WEDNESDAY
2014-10-27 01:37:15 +00:00
iftrue .MetWesley
2015-01-20 08:01:23 +00:00
writetext MeetWesleyText
2015-11-30 03:29:45 +00:00
buttonsound
2013-09-24 07:48:58 +00:00
setevent EVENT_MET_WESLEY_OF_WEDNESDAY
.MetWesley:
2015-01-20 08:01:23 +00:00
writetext WesleyGivesGiftText
2015-11-30 03:29:45 +00:00
buttonsound
2015-11-05 01:20:14 +00:00
verbosegiveitem BLACKBELT
2014-10-27 01:37:15 +00:00
iffalse WesleyDoneScript
2013-09-24 07:48:58 +00:00
setevent EVENT_GOT_BLACKBELT_FROM_WESLEY
2015-01-20 08:01:23 +00:00
writetext WesleyGaveGiftText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2014-10-27 01:37:15 +00:00
WesleyWednesdayScript:
2015-01-20 08:01:23 +00:00
writetext WesleyWednesdayText
2015-11-25 15:16:29 +00:00
waitbutton
2014-10-27 01:37:15 +00:00
WesleyDoneScript:
2015-11-25 15:16:29 +00:00
closetext
end
2014-10-27 01:37:15 +00:00
WesleyNotWednesdayScript:
2015-01-20 08:01:23 +00:00
writetext WesleyNotWednesdayText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
LakeOfRageElixer:
2015-12-15 15:55:56 +00:00
itemball ELIXER
LakeOfRageTMDetect:
2015-12-15 15:55:56 +00:00
itemball TM_DETECT
LakeOfRageHiddenFullRestore:
dwb EVENT_LAKE_OF_RAGE_HIDDEN_FULL_RESTORE, FULL_RESTORE
LakeOfRageHiddenRareCandy:
dwb EVENT_LAKE_OF_RAGE_HIDDEN_RARE_CANDY, RARE_CANDY
LakeOfRageHiddenMaxPotion:
dwb EVENT_LAKE_OF_RAGE_HIDDEN_MAX_POTION, MAX_POTION
2015-06-26 05:30:16 +00:00
MovementData_0x70155:
teleport_from
step_end
2015-06-26 05:30:16 +00:00
UnknownText_0x70157:
text "This lake is full"
line "of GYARADOS but"
cont "nothing else…"
para "So the MAGIKARP"
line "are being forced"
cont "to evolve…"
done
2015-06-26 05:30:16 +00:00
UnknownText_0x701b4:
text "Did you come here"
line "because of the"
cont "rumors?"
para "You're <PLAYER>?"
line "I'm LANCE, a"
cont "trainer like you."
para "I heard some ru-"
line "mors, so I came to"
cont "investigate…"
para "I saw the way you"
line "battled earlier,"
cont "<PLAY_G>."
para "I can tell that"
line "you're a trainer"
para "with considerable"
line "skill."
para "If you don't mind,"
line "could you help me"
cont "investigate?"
done
2015-06-26 05:30:16 +00:00
UnknownText_0x702c6:
text "LANCE: Excellent!"
para "It seems that the"
line "LAKE's MAGIKARP"
para "are being forced"
line "to evolve."
para "A mysterious radio"
line "broadcast coming"
para "from MAHOGANY is"
line "the cause."
para "I'll be waiting"
line "for you, <PLAY_G>."
done
2015-06-26 05:30:16 +00:00
UnknownText_0x70371:
text "Oh… Well, if you"
line "change your mind,"
cont "please help me."
done
2015-06-26 05:30:16 +00:00
UnknownText_0x703a5:
text "LANCE: Hm? Are you"
line "going to help me?"
done
2015-06-26 05:30:16 +00:00
UnknownText_0x703cb:
text "GYARADOS: Gyashaa!"
done
2015-06-26 05:30:16 +00:00
UnknownText_0x703df:
text "<PLAYER> obtained a"
line "RED SCALE."
done
2015-06-26 05:30:16 +00:00
UnknownText_0x703f8:
text "The GYARADOS are"
line "angry!"
para "It's a bad omen!"
done
2015-06-26 05:30:16 +00:00
UnknownText_0x70421:
text "Hahah! The MAGI-"
line "KARP are biting!"
done
2017-12-18 00:48:04 +00:00
LakeOfRageSuperNerdText:
text "I heard this lake"
line "was made by ram-"
cont "paging GYARADOS."
para "I wonder if there"
line "is any connection"
para "to their mass out-"
line "break now?"
done
2017-12-18 00:48:04 +00:00
LakeOfRageCooltrainerFText:
text "Did my eyes de-"
line "ceive me? I saw a"
para "red GYARADOS in"
line "the LAKE…"
para "But I thought"
line "GYARADOS were"
cont "usually blue?"
done
2015-06-26 05:30:16 +00:00
FisherAndreSeenText:
text "Let me battle with"
line "the #MON I just"
cont "caught!"
done
2015-06-26 05:30:16 +00:00
FisherAndreBeatenText:
text "I might be an ex-"
line "pert angler, but"
para "I stink as a #-"
line "MON trainer…"
done
2017-12-10 20:36:58 +00:00
FisherAndreAfterBattleText:
text "I won't lose as an"
line "angler! I catch"
cont "#MON all day."
done
2015-06-26 05:30:16 +00:00
FisherRaymondSeenText:
text "No matter what I"
line "do, all I catch"
para "are the same #-"
line "MON…"
done
2015-06-26 05:30:16 +00:00
FisherRaymondBeatenText:
text "My line's all"
line "tangled up…"
done
2017-12-10 20:36:58 +00:00
FisherRaymondAfterBattleText:
text "Why can't I catch"
line "any good #MON?"
done
2015-06-26 05:30:16 +00:00
CooltrainermAaronSeenText:
text "If a trainer spots"
line "another trainer,"
para "he has to make a"
line "challenge."
para "That is our"
line "destiny."
done
2015-06-26 05:30:16 +00:00
CooltrainermAaronBeatenText:
text "Whew…"
line "Good battle."
done
2017-12-10 20:36:58 +00:00
CooltrainermAaronAfterBattleText:
text "#MON and their"
line "trainer become"
para "powerful through"
line "constant battling."
done
2015-06-26 05:30:16 +00:00
CooltrainerfLoisSeenText:
text "What happened to"
line "the red GYARADOS?"
para "It's gone?"
para "Oh, darn. I came"
line "here for nothing?"
para "I know--let's"
line "battle!"
done
2015-06-26 05:30:16 +00:00
CooltrainerfLoisBeatenText:
text "Good going!"
done
2017-12-10 20:36:58 +00:00
CooltrainerfLoisAfterBattleText:
text "Come to think of"
line "it, I've seen a"
cont "pink BUTTERFREE."
done
2014-10-27 01:37:15 +00:00
MeetWesleyText:
text "WESLEY: Well, how"
line "do you do?"
para "Seeing as how it's"
line "Wednesday today,"
para "I'm WESLEY of"
line "Wednesday."
done
2014-10-27 01:37:15 +00:00
WesleyGivesGiftText:
text "Pleased to meet"
line "you. Please take a"
cont "souvenir."
done
2014-10-27 01:37:15 +00:00
WesleyGaveGiftText:
text "WESLEY: BLACKBELT"
line "beefs up the power"
cont "of fighting moves."
done
2014-10-27 01:37:15 +00:00
WesleyWednesdayText:
text "WESLEY: Since you"
line "found me, you must"
para "have met my broth-"
line "ers and sisters."
para "Or did you just"
line "get lucky?"
done
2014-10-27 01:37:15 +00:00
WesleyNotWednesdayText:
text "WESLEY: Today's"
line "not Wednesday."
cont "That's too bad."
done
2015-06-26 05:30:16 +00:00
UnknownText_0x708d7:
text "LAKE OF RAGE,"
line "also known as"
cont "GYARADOS LAKE."
done
2015-06-26 05:30:16 +00:00
UnknownText_0x70903:
text "FISHING GURU'S"
line "HOUSE"
done
LakeOfRage_MapEventHeader:
; filler
db 0, 0
.Warps:
db 2
warp_def $3, $7, 1, LAKE_OF_RAGE_HIDDEN_POWER_HOUSE
warp_def $1f, $1b, 1, LAKE_OF_RAGE_MAGIKARP_HOUSE
.CoordEvents:
db 0
.BGEvents:
db 5
bg_event 27, 21, BGEVENT_READ, MapLakeOfRageSignpost0Script
bg_event 31, 25, BGEVENT_READ, MapLakeOfRageSignpost1Script
bg_event 28, 11, BGEVENT_ITEM, LakeOfRageHiddenFullRestore
bg_event 4, 4, BGEVENT_ITEM, LakeOfRageHiddenRareCandy
bg_event 5, 35, BGEVENT_ITEM, LakeOfRageHiddenMaxPotion
.ObjectEvents:
db 12
object_event SPRITE_LANCE, 28, 21, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, LanceScript_0x70022, EVENT_LAKE_OF_RAGE_LANCE
object_event SPRITE_GRAMPS, 26, 20, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GrampsScript_0x7008e, -1
object_event SPRITE_SUPER_NERD, 13, 36, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, LakeOfRageSuperNerdScript, -1
object_event SPRITE_COOLTRAINER_F, 29, 25, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 1, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, LakeOfRageCooltrainerFScript, -1
object_event SPRITE_FISHER, 23, 30, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 1, TrainerFisherAndre, EVENT_LAKE_OF_RAGE_CIVILIANS
object_event SPRITE_FISHER, 26, 24, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 1, TrainerFisherRaymond, EVENT_LAKE_OF_RAGE_CIVILIANS
object_event SPRITE_COOLTRAINER_M, 15, 4, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 1, TrainerCooltrainermAaron, EVENT_LAKE_OF_RAGE_CIVILIANS
object_event SPRITE_COOLTRAINER_F, 7, 36, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 0, TrainerCooltrainerfLois, EVENT_LAKE_OF_RAGE_CIVILIANS
object_event SPRITE_GYARADOS, 22, 18, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, GyaradosScript_0x70063, EVENT_LAKE_OF_RAGE_RED_GYARADOS
object_event SPRITE_SUPER_NERD, 4, 4, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, WesleyScript, EVENT_LAKE_OF_RAGE_WESLEY_OF_WEDNESDAY
object_event SPRITE_POKE_BALL, 10, 7, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, LakeOfRageElixer, EVENT_LAKE_OF_RAGE_ELIXER
object_event SPRITE_POKE_BALL, 2, 35, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, LakeOfRageTMDetect, EVENT_LAKE_OF_RAGE_TM_DETECT