2020-07-24 06:49:26 -07:00
|
|
|
object_const_def
|
2015-11-26 21:22:14 -08:00
|
|
|
const VERMILIONCITY_TEACHER
|
|
|
|
const VERMILIONCITY_GRAMPS
|
|
|
|
const VERMILIONCITY_MACHOP
|
|
|
|
const VERMILIONCITY_SUPER_NERD
|
|
|
|
const VERMILIONCITY_BIG_SNORLAX
|
|
|
|
const VERMILIONCITY_POKEFAN_M
|
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
VermilionCity_MapScripts:
|
2020-07-24 06:49:26 -07:00
|
|
|
def_scene_scripts
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_callbacks
|
2018-01-12 21:47:38 -08:00
|
|
|
callback MAPCALLBACK_NEWMAP, .FlyPoint
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.FlyPoint:
|
2015-06-25 22:30:16 -07:00
|
|
|
setflag ENGINE_FLYPOINT_VERMILION
|
2020-07-17 05:37:03 -07:00
|
|
|
endcallback
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
VermilionCityTeacherScript:
|
|
|
|
jumptextfaceplayer VermilionCityTeacherText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2016-04-07 03:13:59 -07:00
|
|
|
VermilionMachopOwner:
|
|
|
|
jumptextfaceplayer VermilionMachopOwnerText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
VermilionMachop:
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2016-04-07 03:13:59 -07:00
|
|
|
writetext VermilionMachopText1
|
2013-02-16 22:54:07 -08:00
|
|
|
cry MACHOP
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
earthquake 30
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2016-04-07 03:13:59 -07:00
|
|
|
writetext VermilionMachopText2
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
VermilionCitySuperNerdScript:
|
|
|
|
jumptextfaceplayer VermilionCitySuperNerdText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
VermilionSnorlax:
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2018-01-24 08:17:05 -08:00
|
|
|
special SnorlaxAwake
|
2018-02-28 14:47:31 -08:00
|
|
|
iftrue .Awake
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext VermilionCitySnorlaxSleepingText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-02-28 14:47:31 -08:00
|
|
|
.Awake:
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext VermilionCityRadioNearSnorlaxText
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 15
|
|
|
|
cry SNORLAX
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2019-03-10 12:31:59 -07:00
|
|
|
loadvar VAR_BATTLETYPE, BATTLETYPE_FORCEITEM
|
2015-12-01 18:54:11 -08:00
|
|
|
loadwildmon SNORLAX, 50
|
2013-02-16 22:54:07 -08:00
|
|
|
startbattle
|
2015-11-26 21:22:14 -08:00
|
|
|
disappear VERMILIONCITY_BIG_SNORLAX
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_FOUGHT_SNORLAX
|
2015-12-26 15:11:55 -08:00
|
|
|
reloadmapafterbattle
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
VermilionGymBadgeGuy:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-06-25 21:01:08 -07:00
|
|
|
checkevent EVENT_GOT_HP_UP_FROM_VERMILION_GUY
|
|
|
|
iftrue .AlreadyGotItem
|
2019-03-10 12:31:59 -07:00
|
|
|
readvar VAR_BADGES
|
2018-02-02 18:09:17 -08:00
|
|
|
ifequal NUM_BADGES, .AllBadges
|
|
|
|
ifgreater 13, .MostBadges
|
|
|
|
ifgreater 9, .SomeBadges
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext VermilionCityBadgeGuyTrainerText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.SomeBadges:
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext VermilionCityBadgeGuySomeBadgesText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.MostBadges:
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext VermilionCityBadgeGuyMostBadgesText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.AllBadges:
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext VermilionCityBadgeGuyAllBadgesText
|
2019-11-03 09:48:54 -08:00
|
|
|
promptbutton
|
2015-11-04 17:20:14 -08:00
|
|
|
verbosegiveitem HP_UP
|
2015-06-25 21:01:08 -07:00
|
|
|
iffalse .Done
|
|
|
|
setevent EVENT_GOT_HP_UP_FROM_VERMILION_GUY
|
2016-04-10 11:42:14 -07:00
|
|
|
.AlreadyGotItem:
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext VermilionCityBadgeGuyBattleEdgeText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2016-04-10 11:42:14 -07:00
|
|
|
.Done:
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
VermilionCitySign:
|
|
|
|
jumptext VermilionCitySignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
VermilionGymSign:
|
|
|
|
jumptext VermilionGymSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
PokemonFanClubSign:
|
|
|
|
jumptext PokemonFanClubSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
VermilionCityDiglettsCaveSign:
|
|
|
|
jumptext VermilionCityDiglettsCaveSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
VermilionCityPortSign:
|
|
|
|
jumptext VermilionCityPortSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 19:34:42 -08:00
|
|
|
VermilionCityPokecenterSign:
|
2020-06-10 13:44:16 -07:00
|
|
|
jumpstd PokecenterSignScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
VermilionCityMartSign:
|
2020-06-10 13:44:16 -07:00
|
|
|
jumpstd MartSignScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-15 08:21:58 -08:00
|
|
|
VermilionCityHiddenFullHeal:
|
2018-01-23 09:59:21 -08:00
|
|
|
hiddenitem FULL_HEAL, EVENT_VERMILION_CITY_HIDDEN_FULL_HEAL
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
VermilionCityTeacherText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "VERMILION PORT is"
|
|
|
|
line "KANTO's seaside"
|
|
|
|
cont "gateway."
|
|
|
|
|
|
|
|
para "Luxury liners from"
|
|
|
|
line "around the world"
|
|
|
|
cont "dock here."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2016-04-07 03:13:59 -07:00
|
|
|
VermilionMachopOwnerText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "My #MON is"
|
|
|
|
line "preparing the land"
|
|
|
|
cont "for construction."
|
|
|
|
|
|
|
|
para "But I have no"
|
|
|
|
line "money to start the"
|
|
|
|
cont "project…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2016-04-07 03:13:59 -07:00
|
|
|
VermilionMachopText1:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "MACHOP: Guooh"
|
|
|
|
line "gogogoh!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2016-04-07 03:13:59 -07:00
|
|
|
VermilionMachopText2:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "A MACHOP is growl-"
|
|
|
|
line "ing while stomping"
|
|
|
|
cont "the ground flat."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
VermilionCitySuperNerdText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "There are eight"
|
|
|
|
line "GYMS in KANTO."
|
|
|
|
|
|
|
|
para "That big building"
|
|
|
|
line "is VERMILION's"
|
|
|
|
cont "#MON GYM."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2019-10-20 15:24:17 -07:00
|
|
|
VermilionCitySnorlaxSleepingText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "SNORLAX is snoring"
|
|
|
|
line "peacefully…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2019-10-20 15:24:17 -07:00
|
|
|
VermilionCityRadioNearSnorlaxText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "The #GEAR was"
|
|
|
|
line "placed near the"
|
|
|
|
cont "sleeping SNORLAX…"
|
|
|
|
|
|
|
|
para "…"
|
|
|
|
|
|
|
|
para "SNORLAX woke up!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2019-10-20 15:24:17 -07:00
|
|
|
VermilionCityBadgeGuyTrainerText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Skilled trainers"
|
|
|
|
line "gather in KANTO."
|
|
|
|
|
|
|
|
para "GYM LEADERS are"
|
|
|
|
line "especially strong."
|
|
|
|
|
|
|
|
para "They won't be easy"
|
|
|
|
line "to defeat."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2019-10-20 15:24:17 -07:00
|
|
|
VermilionCityBadgeGuySomeBadgesText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "You've started to"
|
|
|
|
line "collect KANTO GYM"
|
|
|
|
cont "BADGES?"
|
|
|
|
|
|
|
|
para "Don't you agree"
|
|
|
|
line "that the trainers"
|
|
|
|
cont "here are tough?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2019-10-20 15:24:17 -07:00
|
|
|
VermilionCityBadgeGuyMostBadgesText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I guess you'll be"
|
|
|
|
line "finished with your"
|
|
|
|
|
|
|
|
para "conquest of KANTO"
|
|
|
|
line "GYMS soon."
|
|
|
|
|
|
|
|
para "Let me know if"
|
|
|
|
line "you get all eight"
|
|
|
|
cont "BADGES."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2019-10-20 15:24:17 -07:00
|
|
|
VermilionCityBadgeGuyAllBadgesText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Congratulations!"
|
|
|
|
|
|
|
|
para "You got all the"
|
|
|
|
line "KANTO GYM BADGES."
|
|
|
|
|
|
|
|
para "I've got a reward"
|
|
|
|
line "for your efforts."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2019-10-20 15:24:17 -07:00
|
|
|
VermilionCityBadgeGuyBattleEdgeText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Having a variety"
|
|
|
|
line "of #MON types"
|
|
|
|
|
|
|
|
para "should give you an"
|
|
|
|
line "edge in battle."
|
|
|
|
|
|
|
|
para "I'm sure the KANTO"
|
|
|
|
line "GYM BADGES will"
|
|
|
|
cont "help you."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
VermilionCitySignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "VERMILION CITY"
|
|
|
|
|
|
|
|
para "The Port of"
|
|
|
|
line "Exquisite Sunsets"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
VermilionGymSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "VERMILION CITY"
|
|
|
|
line "#MON GYM"
|
|
|
|
cont "LEADER: LT.SURGE"
|
|
|
|
|
|
|
|
para "The Lightning"
|
|
|
|
line "American"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
PokemonFanClubSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "#MON FAN CLUB"
|
|
|
|
|
|
|
|
para "All #MON Fans"
|
|
|
|
line "Welcome!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
VermilionCityDiglettsCaveSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "DIGLETT'S CAVE"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
VermilionCityPortSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "VERMILION PORT"
|
|
|
|
line "ENTRANCE"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
VermilionCity_MapEvents:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0, 0 ; filler
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_warp_events
|
2018-02-01 19:22:07 -08:00
|
|
|
warp_event 5, 5, VERMILION_FISHING_SPEECH_HOUSE, 1
|
|
|
|
warp_event 9, 5, VERMILION_POKECENTER_1F, 1
|
|
|
|
warp_event 7, 13, POKEMON_FAN_CLUB, 1
|
2018-02-01 18:54:00 -08:00
|
|
|
warp_event 13, 13, VERMILION_MAGNET_TRAIN_SPEECH_HOUSE, 1
|
|
|
|
warp_event 21, 13, VERMILION_MART, 2
|
|
|
|
warp_event 21, 17, VERMILION_DIGLETTS_CAVE_SPEECH_HOUSE, 1
|
|
|
|
warp_event 10, 19, VERMILION_GYM, 1
|
|
|
|
warp_event 19, 31, VERMILION_PORT_PASSAGE, 1
|
|
|
|
warp_event 20, 31, VERMILION_PORT_PASSAGE, 2
|
2018-02-01 19:22:07 -08:00
|
|
|
warp_event 34, 7, DIGLETTS_CAVE, 1
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_coord_events
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_bg_events
|
2018-02-01 19:22:07 -08:00
|
|
|
bg_event 25, 3, BGEVENT_READ, VermilionCitySign
|
|
|
|
bg_event 5, 19, BGEVENT_READ, VermilionGymSign
|
|
|
|
bg_event 5, 13, BGEVENT_READ, PokemonFanClubSign
|
|
|
|
bg_event 33, 9, BGEVENT_READ, VermilionCityDiglettsCaveSign
|
2017-12-28 11:31:25 -08:00
|
|
|
bg_event 27, 15, BGEVENT_READ, VermilionCityPortSign
|
2018-02-01 19:22:07 -08:00
|
|
|
bg_event 10, 5, BGEVENT_READ, VermilionCityPokecenterSign
|
2017-12-28 11:31:25 -08:00
|
|
|
bg_event 22, 13, BGEVENT_READ, VermilionCityMartSign
|
|
|
|
bg_event 12, 19, BGEVENT_ITEM, VermilionCityHiddenFullHeal
|
2017-12-24 10:46:34 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_object_events
|
2018-02-01 19:22:07 -08:00
|
|
|
object_event 18, 9, SPRITE_TEACHER, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, VermilionCityTeacherScript, -1
|
|
|
|
object_event 23, 6, SPRITE_GRAMPS, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, VermilionMachopOwner, -1
|
|
|
|
object_event 26, 7, SPRITE_MACHOP, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, VermilionMachop, -1
|
2017-12-28 11:31:25 -08:00
|
|
|
object_event 14, 16, SPRITE_SUPER_NERD, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, VermilionCitySuperNerdScript, -1
|
2018-02-01 19:22:07 -08:00
|
|
|
object_event 34, 8, SPRITE_BIG_SNORLAX, SPRITEMOVEDATA_BIGDOLLSYM, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, VermilionSnorlax, EVENT_VERMILION_CITY_SNORLAX
|
2017-12-28 11:31:25 -08:00
|
|
|
object_event 31, 12, SPRITE_POKEFAN_M, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, VermilionGymBadgeGuy, -1
|