2018-01-31 16:08:47 +00:00
|
|
|
const_value set 2 ; object constants
|
2015-11-27 05:22:14 +00:00
|
|
|
const ROUTE36_YOUNGSTER1
|
|
|
|
const ROUTE36_YOUNGSTER2
|
|
|
|
const ROUTE36_WEIRD_TREE
|
|
|
|
const ROUTE36_LASS1
|
|
|
|
const ROUTE36_FISHER
|
|
|
|
const ROUTE36_FRUIT_TREE
|
2016-04-07 04:59:45 +00:00
|
|
|
const ROUTE36_ARTHUR
|
|
|
|
const ROUTE36_FLORIA
|
2015-11-27 05:22:14 +00:00
|
|
|
const ROUTE36_SUICUNE
|
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
Route36_MapScripts:
|
2018-01-30 19:15:47 +00:00
|
|
|
db 2 ; scene scripts
|
2017-12-24 18:46:34 +00:00
|
|
|
scene_script .DummyScene0
|
|
|
|
scene_script .DummyScene1
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 1 ; callbacks
|
2018-01-13 05:47:38 +00:00
|
|
|
callback MAPCALLBACK_OBJECTS, .ArthurCallback
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-24 18:46:34 +00:00
|
|
|
.DummyScene0:
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2017-12-24 18:46:34 +00:00
|
|
|
.DummyScene1:
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.ArthurCallback:
|
2015-07-10 02:08:03 +00:00
|
|
|
checkcode VAR_WEEKDAY
|
2014-10-27 01:37:15 +00:00
|
|
|
if_equal THURSDAY, .ArthurAppears
|
2016-04-07 04:59:45 +00:00
|
|
|
disappear ROUTE36_ARTHUR
|
2013-02-17 06:54:07 +00:00
|
|
|
return
|
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.ArthurAppears:
|
2016-04-07 04:59:45 +00:00
|
|
|
appear ROUTE36_ARTHUR
|
2013-02-17 06:54:07 +00:00
|
|
|
return
|
|
|
|
|
2016-04-07 04:59:45 +00:00
|
|
|
Route36SuicuneScript:
|
2015-07-22 06:49:18 +00:00
|
|
|
showemote EMOTE_SHOCK, PLAYER, 15
|
2013-02-17 06:54:07 +00:00
|
|
|
pause 15
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_WARP_FROM
|
2015-07-22 06:49:18 +00:00
|
|
|
spriteface PLAYER, UP
|
2016-03-02 03:31:21 +00:00
|
|
|
applymovement ROUTE36_SUICUNE, Route36SuicuneMovement
|
2015-11-27 05:22:14 +00:00
|
|
|
disappear ROUTE36_SUICUNE
|
2015-07-22 06:49:18 +00:00
|
|
|
spriteface PLAYER, DOWN
|
2013-02-17 06:54:07 +00:00
|
|
|
pause 10
|
2018-01-09 23:45:25 +00:00
|
|
|
setscene 0
|
2013-09-24 07:48:58 +00:00
|
|
|
clearevent EVENT_SAW_SUICUNE_AT_CIANWOOD_CITY
|
2018-01-09 23:45:25 +00:00
|
|
|
setmapscene CIANWOOD_CITY, 1
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2016-04-07 04:59:45 +00:00
|
|
|
SudowoodoScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
checkitem SQUIRTBOTTLE
|
2016-04-07 04:59:45 +00:00
|
|
|
iftrue .Fight
|
|
|
|
|
2015-11-25 15:16:29 +00:00
|
|
|
waitsfx
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_SANDSTORM
|
2016-04-07 04:59:45 +00:00
|
|
|
applymovement ROUTE36_WEIRD_TREE, SudowoodoShakeMovement
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.Fight:
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2016-04-07 04:59:45 +00:00
|
|
|
writetext UseSquirtbottleText
|
2013-02-17 06:54:07 +00:00
|
|
|
yesorno
|
2016-04-07 04:59:45 +00:00
|
|
|
iffalse DidntUseSquirtbottleScript
|
2015-11-25 15:16:29 +00:00
|
|
|
closetext
|
2016-04-07 04:59:45 +00:00
|
|
|
WateredWeirdTreeScript:: ; export (for when you use Squirtbottle from pack)
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2016-04-07 04:59:45 +00:00
|
|
|
writetext UsedSquirtbottleText
|
2013-02-17 06:54:07 +00:00
|
|
|
waitbutton
|
2015-11-25 15:16:29 +00:00
|
|
|
closetext
|
|
|
|
waitsfx
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_SANDSTORM
|
2016-04-07 04:59:45 +00:00
|
|
|
applymovement ROUTE36_WEIRD_TREE, SudowoodoShakeMovement
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2016-04-07 04:59:45 +00:00
|
|
|
writetext SudowoodoAttackedText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2015-12-02 02:54:11 +00:00
|
|
|
loadwildmon SUDOWOODO, 20
|
2013-02-17 06:54:07 +00:00
|
|
|
startbattle
|
2013-09-24 07:48:58 +00:00
|
|
|
setevent EVENT_FOUGHT_SUDOWOODO
|
2016-03-02 03:31:21 +00:00
|
|
|
if_equal $2, DidntCatchSudowoodo
|
2015-11-27 05:22:14 +00:00
|
|
|
disappear ROUTE36_WEIRD_TREE
|
2015-07-13 06:23:48 +00:00
|
|
|
variablesprite SPRITE_WEIRD_TREE, SPRITE_TWIN
|
2015-12-26 23:11:55 +00:00
|
|
|
reloadmapafterbattle
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2016-04-07 04:59:45 +00:00
|
|
|
DidntUseSquirtbottleScript:
|
2015-11-25 15:16:29 +00:00
|
|
|
closetext
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2016-03-02 03:31:21 +00:00
|
|
|
DidntCatchSudowoodo:
|
2015-12-26 23:11:55 +00:00
|
|
|
reloadmapafterbattle
|
2016-03-02 03:31:21 +00:00
|
|
|
applymovement ROUTE36_WEIRD_TREE, WeirdTreeMovement_Flee
|
2015-11-27 05:22:14 +00:00
|
|
|
disappear ROUTE36_WEIRD_TREE
|
2015-07-13 06:23:48 +00:00
|
|
|
variablesprite SPRITE_WEIRD_TREE, SPRITE_TWIN
|
2018-01-24 16:17:05 +00:00
|
|
|
special LoadUsedSpritesGFX
|
|
|
|
special RefreshSprites
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2016-03-02 03:31:21 +00:00
|
|
|
Route36FloriaScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-07-20 07:51:52 +00:00
|
|
|
checkevent EVENT_TALKED_TO_FLORIA_AT_FLOWER_SHOP
|
2016-04-07 04:59:45 +00:00
|
|
|
iftrue .SecondTimeTalking
|
2015-06-26 05:30:16 +00:00
|
|
|
setevent EVENT_MET_FLORIA
|
2016-04-07 04:59:45 +00:00
|
|
|
writetext FloriaText1
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2015-07-18 19:46:38 +00:00
|
|
|
clearevent EVENT_FLORIA_AT_FLOWER_SHOP
|
2015-07-10 02:08:03 +00:00
|
|
|
checkcode VAR_FACING
|
2016-04-07 04:59:45 +00:00
|
|
|
if_equal UP, .Up
|
|
|
|
applymovement ROUTE36_FLORIA, FloriaMovement1
|
|
|
|
disappear ROUTE36_FLORIA
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.Up:
|
2016-04-07 04:59:45 +00:00
|
|
|
applymovement ROUTE36_FLORIA, FloriaMovement2
|
|
|
|
disappear ROUTE36_FLORIA
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.SecondTimeTalking:
|
2016-04-07 04:59:45 +00:00
|
|
|
writetext FloriaText2
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2016-03-02 03:31:21 +00:00
|
|
|
Route36RockSmashGuyScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_GOT_TM08_ROCK_SMASH
|
2016-03-02 03:31:21 +00:00
|
|
|
iftrue .AlreadyGotRockSmash
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_FOUGHT_SUDOWOODO
|
2016-03-02 03:31:21 +00:00
|
|
|
iftrue .ClearedSudowoodo
|
|
|
|
writetext RockSmashGuyText1
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.ClearedSudowoodo:
|
2016-03-02 03:31:21 +00:00
|
|
|
writetext RockSmashGuyText2
|
2015-11-30 03:29:45 +00:00
|
|
|
buttonsound
|
2015-11-05 01:20:14 +00:00
|
|
|
verbosegiveitem TM_ROCK_SMASH
|
2016-03-02 03:31:21 +00:00
|
|
|
iffalse .NoRoomForTM
|
2013-09-24 07:48:58 +00:00
|
|
|
setevent EVENT_GOT_TM08_ROCK_SMASH
|
2016-04-10 18:42:14 +00:00
|
|
|
.AlreadyGotRockSmash:
|
2016-03-02 03:31:21 +00:00
|
|
|
writetext RockSmashGuyText3
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2016-04-10 18:42:14 +00:00
|
|
|
.NoRoomForTM:
|
2015-11-25 15:16:29 +00:00
|
|
|
closetext
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
LassScript_0x1940e0:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_FOUGHT_SUDOWOODO
|
2016-03-02 03:31:21 +00:00
|
|
|
iftrue .ClearedSudowoodo
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x194626
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.ClearedSudowoodo:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x19469e
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerSchoolboyAlan1:
|
2018-01-23 18:08:48 +00:00
|
|
|
trainer SCHOOLBOY, ALAN1, EVENT_BEAT_SCHOOLBOY_ALAN, SchoolboyAlan1SeenText, SchoolboyAlan1BeatenText, 0, .Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.Script:
|
2015-07-19 03:45:39 +00:00
|
|
|
writecode VAR_CALLERID, PHONE_SCHOOLBOY_ALAN
|
2015-11-25 15:16:29 +00:00
|
|
|
end_if_just_battled
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-07-10 08:36:57 +00:00
|
|
|
checkflag ENGINE_ALAN
|
2016-04-10 17:47:24 +00:00
|
|
|
iftrue .ChooseRematch
|
2015-07-10 08:36:57 +00:00
|
|
|
checkflag ENGINE_ALAN_HAS_FIRE_STONE
|
2016-04-10 17:47:24 +00:00
|
|
|
iftrue .GiveFireStone
|
2015-07-19 03:45:39 +00:00
|
|
|
checkcellnum PHONE_SCHOOLBOY_ALAN
|
2016-04-10 17:47:24 +00:00
|
|
|
iftrue .NumberAccepted
|
2015-07-10 10:31:08 +00:00
|
|
|
checkevent EVENT_ALAN_ASKED_FOR_PHONE_NUMBER
|
2016-04-10 17:47:24 +00:00
|
|
|
iftrue .AskAgainForPhoneNumber
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x1947aa
|
2015-11-30 03:29:45 +00:00
|
|
|
buttonsound
|
2015-07-10 10:31:08 +00:00
|
|
|
setevent EVENT_ALAN_ASKED_FOR_PHONE_NUMBER
|
2016-04-10 17:47:24 +00:00
|
|
|
scall .AskNumber1
|
|
|
|
jump .ContinueAskForPhoneNumber
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.AskAgainForPhoneNumber:
|
2016-04-10 17:47:24 +00:00
|
|
|
scall .AskNumber2
|
2016-04-10 18:42:14 +00:00
|
|
|
.ContinueAskForPhoneNumber:
|
2015-07-19 03:45:39 +00:00
|
|
|
askforphonenumber PHONE_SCHOOLBOY_ALAN
|
2018-01-12 06:40:20 +00:00
|
|
|
if_equal PHONE_CONTACTS_FULL, .PhoneFull
|
|
|
|
if_equal PHONE_CONTACT_REFUSED, .NumberDeclined
|
|
|
|
trainertotext SCHOOLBOY, ALAN1, MEM_BUFFER_0
|
2016-04-10 17:47:24 +00:00
|
|
|
scall .RegisteredNumber
|
|
|
|
jump .NumberAccepted
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.ChooseRematch:
|
2016-04-10 17:47:24 +00:00
|
|
|
scall .Rematch
|
2015-11-02 19:37:02 +00:00
|
|
|
winlosstext SchoolboyAlan1BeatenText, 0
|
2015-07-10 20:04:00 +00:00
|
|
|
copybytetovar wAlanFightCount
|
2015-07-10 09:37:34 +00:00
|
|
|
if_equal 4, .Fight4
|
|
|
|
if_equal 3, .Fight3
|
|
|
|
if_equal 2, .Fight2
|
|
|
|
if_equal 1, .Fight1
|
|
|
|
if_equal 0, .LoadFight0
|
2016-04-10 18:42:14 +00:00
|
|
|
.Fight4:
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_RESTORED_POWER_TO_KANTO
|
2015-07-10 09:37:34 +00:00
|
|
|
iftrue .LoadFight4
|
2016-04-10 18:42:14 +00:00
|
|
|
.Fight3:
|
2015-06-25 03:20:04 +00:00
|
|
|
checkevent EVENT_BEAT_ELITE_FOUR
|
2015-07-10 09:37:34 +00:00
|
|
|
iftrue .LoadFight3
|
2016-04-10 18:42:14 +00:00
|
|
|
.Fight2:
|
2015-07-10 09:37:34 +00:00
|
|
|
checkflag ENGINE_FLYPOINT_BLACKTHORN
|
|
|
|
iftrue .LoadFight2
|
2016-04-10 18:42:14 +00:00
|
|
|
.Fight1:
|
2015-07-10 09:37:34 +00:00
|
|
|
checkflag ENGINE_FLYPOINT_OLIVINE
|
|
|
|
iftrue .LoadFight1
|
2016-04-10 18:42:14 +00:00
|
|
|
.LoadFight0:
|
2015-12-02 02:54:11 +00:00
|
|
|
loadtrainer SCHOOLBOY, ALAN1
|
2013-02-17 06:54:07 +00:00
|
|
|
startbattle
|
2015-12-26 23:11:55 +00:00
|
|
|
reloadmapafterbattle
|
2015-07-10 20:04:00 +00:00
|
|
|
loadvar wAlanFightCount, 1
|
2015-07-10 08:36:57 +00:00
|
|
|
clearflag ENGINE_ALAN
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.LoadFight1:
|
2015-12-02 02:54:11 +00:00
|
|
|
loadtrainer SCHOOLBOY, ALAN2
|
2013-02-17 06:54:07 +00:00
|
|
|
startbattle
|
2015-12-26 23:11:55 +00:00
|
|
|
reloadmapafterbattle
|
2015-07-10 20:04:00 +00:00
|
|
|
loadvar wAlanFightCount, 2
|
2015-07-10 08:36:57 +00:00
|
|
|
clearflag ENGINE_ALAN
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.LoadFight2:
|
2015-12-02 02:54:11 +00:00
|
|
|
loadtrainer SCHOOLBOY, ALAN3
|
2013-02-17 06:54:07 +00:00
|
|
|
startbattle
|
2015-12-26 23:11:55 +00:00
|
|
|
reloadmapafterbattle
|
2015-07-10 20:04:00 +00:00
|
|
|
loadvar wAlanFightCount, 3
|
2015-07-10 08:36:57 +00:00
|
|
|
clearflag ENGINE_ALAN
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.LoadFight3:
|
2015-12-02 02:54:11 +00:00
|
|
|
loadtrainer SCHOOLBOY, ALAN4
|
2013-02-17 06:54:07 +00:00
|
|
|
startbattle
|
2015-12-26 23:11:55 +00:00
|
|
|
reloadmapafterbattle
|
2015-07-10 20:04:00 +00:00
|
|
|
loadvar wAlanFightCount, 4
|
2015-07-10 08:36:57 +00:00
|
|
|
clearflag ENGINE_ALAN
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.LoadFight4:
|
2015-12-02 02:54:11 +00:00
|
|
|
loadtrainer SCHOOLBOY, ALAN5
|
2013-02-17 06:54:07 +00:00
|
|
|
startbattle
|
2015-12-26 23:11:55 +00:00
|
|
|
reloadmapafterbattle
|
2015-07-10 08:36:57 +00:00
|
|
|
clearflag ENGINE_ALAN
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.GiveFireStone:
|
2016-04-10 17:47:24 +00:00
|
|
|
scall .Gift
|
2015-11-05 01:20:14 +00:00
|
|
|
verbosegiveitem FIRE_STONE
|
2016-04-10 17:47:24 +00:00
|
|
|
iffalse .BagFull
|
2015-07-10 08:36:57 +00:00
|
|
|
clearflag ENGINE_ALAN_HAS_FIRE_STONE
|
2015-07-20 07:51:52 +00:00
|
|
|
setevent EVENT_ALAN_GAVE_FIRE_STONE
|
2016-04-10 17:47:24 +00:00
|
|
|
jump .NumberAccepted
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.BagFull:
|
2016-04-10 17:47:24 +00:00
|
|
|
jump .PackFull
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.AskNumber1:
|
2015-06-25 01:26:24 +00:00
|
|
|
jumpstd asknumber1m
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.AskNumber2:
|
2015-06-25 01:26:24 +00:00
|
|
|
jumpstd asknumber2m
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.RegisteredNumber:
|
2015-06-25 01:26:24 +00:00
|
|
|
jumpstd registerednumberm
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.NumberAccepted:
|
2015-06-25 01:26:24 +00:00
|
|
|
jumpstd numberacceptedm
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.NumberDeclined:
|
2015-06-25 01:26:24 +00:00
|
|
|
jumpstd numberdeclinedm
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.PhoneFull:
|
2015-06-25 01:26:24 +00:00
|
|
|
jumpstd phonefullm
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.Rematch:
|
2015-06-25 01:26:24 +00:00
|
|
|
jumpstd rematchm
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.Gift:
|
2015-06-25 01:26:24 +00:00
|
|
|
jumpstd giftm
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.PackFull:
|
2015-06-25 01:26:24 +00:00
|
|
|
jumpstd packfullm
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerPsychicMark:
|
2018-01-23 18:08:48 +00:00
|
|
|
trainer PSYCHIC_T, MARK, EVENT_BEAT_PSYCHIC_MARK, PsychicMarkSeenText, PsychicMarkBeatenText, 0, .Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-10 18:42:14 +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-18 01:45:04 +00:00
|
|
|
writetext PsychicMarkAfterBattleText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2014-10-27 01:37:15 +00:00
|
|
|
ArthurScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_GOT_HARD_STONE_FROM_ARTHUR
|
2016-04-10 17:47:24 +00:00
|
|
|
iftrue .AlreadyGotStone
|
2015-07-10 02:08:03 +00:00
|
|
|
checkcode VAR_WEEKDAY
|
2014-10-27 01:37:15 +00:00
|
|
|
if_not_equal THURSDAY, ArthurNotThursdayScript
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_MET_ARTHUR_OF_THURSDAY
|
2014-10-27 01:37:15 +00:00
|
|
|
iftrue .MetArthur
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext MeetArthurText
|
2015-11-30 03:29:45 +00:00
|
|
|
buttonsound
|
2013-09-24 07:48:58 +00:00
|
|
|
setevent EVENT_MET_ARTHUR_OF_THURSDAY
|
2016-04-10 18:42:14 +00:00
|
|
|
.MetArthur:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext ArthurGivesGiftText
|
2015-11-30 03:29:45 +00:00
|
|
|
buttonsound
|
2015-11-05 01:20:14 +00:00
|
|
|
verbosegiveitem HARD_STONE
|
2016-04-10 17:47:24 +00:00
|
|
|
iffalse .BagFull
|
2013-09-24 07:48:58 +00:00
|
|
|
setevent EVENT_GOT_HARD_STONE_FROM_ARTHUR
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext ArthurGaveGiftText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.AlreadyGotStone:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext ArthurThursdayText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2016-04-10 18:42:14 +00:00
|
|
|
.BagFull:
|
2015-11-25 15:16:29 +00:00
|
|
|
closetext
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2014-10-27 01:37:15 +00:00
|
|
|
ArthurNotThursdayScript:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext ArthurNotThursdayText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2016-04-07 04:59:45 +00:00
|
|
|
Route36Sign:
|
|
|
|
jumptext Route36SignText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-07 04:59:45 +00:00
|
|
|
RuinsOfAlphNorthSign:
|
|
|
|
jumptext RuinsOfAlphNorthSignText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-07 04:59:45 +00:00
|
|
|
Route36TrainerTips1:
|
|
|
|
jumptext Route36TrainerTips1Text
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-07 04:59:45 +00:00
|
|
|
Route36TrainerTips2:
|
|
|
|
jumptext Route36TrainerTips2Text
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-10 17:47:24 +00:00
|
|
|
Route36FruitTree:
|
2015-11-18 15:42:42 +00:00
|
|
|
fruittree FRUITTREE_ROUTE_36
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-07 04:59:45 +00:00
|
|
|
SudowoodoShakeMovement:
|
2016-04-10 17:47:24 +00:00
|
|
|
tree_shake ; shake
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2016-03-02 03:31:21 +00:00
|
|
|
WeirdTreeMovement_Flee:
|
2016-05-14 17:46:14 +00:00
|
|
|
fast_jump_step UP
|
|
|
|
fast_jump_step UP
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2016-04-07 04:59:45 +00:00
|
|
|
FloriaMovement1:
|
2016-05-14 17:46:14 +00:00
|
|
|
step DOWN
|
|
|
|
step DOWN
|
|
|
|
step DOWN
|
|
|
|
step LEFT
|
|
|
|
step LEFT
|
|
|
|
step LEFT
|
|
|
|
step LEFT
|
|
|
|
step LEFT
|
|
|
|
step LEFT
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2016-04-07 04:59:45 +00:00
|
|
|
FloriaMovement2:
|
2016-05-14 17:46:14 +00:00
|
|
|
step LEFT
|
|
|
|
step DOWN
|
|
|
|
step DOWN
|
|
|
|
step DOWN
|
|
|
|
step LEFT
|
|
|
|
step LEFT
|
|
|
|
step LEFT
|
|
|
|
step LEFT
|
|
|
|
step LEFT
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2016-03-02 03:31:21 +00:00
|
|
|
Route36SuicuneMovement:
|
|
|
|
set_sliding
|
2016-05-14 17:46:14 +00:00
|
|
|
fast_jump_step DOWN
|
|
|
|
fast_jump_step DOWN
|
|
|
|
fast_jump_step DOWN
|
|
|
|
fast_jump_step RIGHT
|
|
|
|
fast_jump_step RIGHT
|
|
|
|
fast_jump_step RIGHT
|
2016-03-02 03:31:21 +00:00
|
|
|
remove_sliding
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2016-04-07 04:59:45 +00:00
|
|
|
UseSquirtbottleText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "It's a weird tree."
|
|
|
|
line "Use SQUIRTBOTTLE?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-07 04:59:45 +00:00
|
|
|
UsedSquirtbottleText:
|
2015-06-28 04:59:17 +00:00
|
|
|
text "<PLAYER> used the"
|
2014-03-06 05:29:44 +00:00
|
|
|
line "SQUIRTBOTTLE."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-07 04:59:45 +00:00
|
|
|
SudowoodoAttackedText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "The weird tree"
|
|
|
|
line "doesn't like the"
|
|
|
|
cont "SQUIRTBOTTLE!"
|
|
|
|
|
|
|
|
para "The weird tree"
|
|
|
|
line "attacked!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-07 04:59:45 +00:00
|
|
|
FloriaText1:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I'm the FLOWER"
|
|
|
|
line "SHOP's FLORIA!"
|
|
|
|
|
|
|
|
para "Listen, listen!"
|
|
|
|
|
|
|
|
para "When I sprinkled"
|
|
|
|
line "water on that"
|
|
|
|
|
|
|
|
para "wiggly tree, it"
|
|
|
|
line "jumped right up!"
|
|
|
|
|
|
|
|
para "It just has to be"
|
|
|
|
line "a #MON."
|
|
|
|
|
|
|
|
para "I bet it would be"
|
|
|
|
line "shocked out of its"
|
|
|
|
|
|
|
|
para "disguise if you"
|
|
|
|
line "soaked it!"
|
|
|
|
|
|
|
|
para "I know! I'll tell"
|
|
|
|
line "my sis and borrow"
|
|
|
|
cont "her water bottle!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-07 04:59:45 +00:00
|
|
|
FloriaText2:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "When I told my sis"
|
|
|
|
line "about the jiggly"
|
|
|
|
|
|
|
|
para "tree, she said"
|
|
|
|
line "it's dangerous."
|
|
|
|
|
|
|
|
para "If I beat WHITNEY,"
|
|
|
|
line "I wonder if she'll"
|
|
|
|
|
|
|
|
para "lend me her water"
|
|
|
|
line "bottle…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-03-02 03:31:21 +00:00
|
|
|
RockSmashGuyText1:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Wa-hey!"
|
|
|
|
|
|
|
|
para "I was going to"
|
|
|
|
line "snap that tree"
|
|
|
|
|
|
|
|
para "with my straight-"
|
|
|
|
line "arm punch."
|
|
|
|
|
|
|
|
para "But I couldn't!"
|
|
|
|
line "I'm a failure!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-03-02 03:31:21 +00:00
|
|
|
RockSmashGuyText2:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Did you clear that"
|
|
|
|
line "wretched tree?"
|
|
|
|
|
|
|
|
para "I'm impressed!"
|
|
|
|
line "I want you to"
|
|
|
|
cont "have this."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x19451a:
|
2015-06-28 04:59:17 +00:00
|
|
|
text "<PLAYER> received"
|
2014-03-06 05:29:44 +00:00
|
|
|
line "TM08."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-03-02 03:31:21 +00:00
|
|
|
RockSmashGuyText3:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "That happens to be"
|
|
|
|
line "ROCK SMASH."
|
|
|
|
|
|
|
|
para "You can shatter"
|
|
|
|
line "rocks with just a"
|
|
|
|
|
|
|
|
para "single well-aimed"
|
|
|
|
line "smack."
|
|
|
|
|
|
|
|
para "If any rocks are"
|
|
|
|
line "in your way, just"
|
|
|
|
cont "smash 'em up!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x1945b8:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "An odd tree is"
|
|
|
|
line "blocking the way"
|
|
|
|
cont "to GOLDENROD CITY."
|
|
|
|
|
|
|
|
para "I wanted to go see"
|
|
|
|
line "the huge #MON"
|
|
|
|
|
|
|
|
para "CENTER they just"
|
|
|
|
line "opened…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x194626:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "An odd tree is"
|
|
|
|
line "blocking the way"
|
|
|
|
cont "to GOLDENROD CITY."
|
|
|
|
|
|
|
|
para "It's preventing"
|
|
|
|
line "me from shopping."
|
|
|
|
|
|
|
|
para "Something should"
|
|
|
|
line "be done about it."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x19469e:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "That odd tree dis-"
|
|
|
|
line "appeared without a"
|
|
|
|
cont "trace."
|
|
|
|
|
|
|
|
para "Oh! That tree was"
|
|
|
|
line "really a #MON?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
PsychicMarkSeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I'm going to read"
|
|
|
|
line "your thoughts!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
PsychicMarkBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I misread you!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
PsychicMarkAfterBattleText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I'd be strong if"
|
|
|
|
line "only I could tell"
|
|
|
|
|
|
|
|
para "what my opponent"
|
|
|
|
line "was thinking."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
SchoolboyAlan1SeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Thanks to my stud-"
|
|
|
|
line "ies, I'm ready for"
|
|
|
|
cont "any #MON!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
SchoolboyAlan1BeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Oops! Computation"
|
|
|
|
line "error?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x1947aa:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Darn. I study five"
|
|
|
|
line "hours a day too."
|
|
|
|
|
|
|
|
para "There's more to"
|
|
|
|
line "learning than just"
|
|
|
|
cont "reading books."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2014-10-27 01:37:15 +00:00
|
|
|
MeetArthurText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "ARTHUR: Who are"
|
|
|
|
line "you?"
|
|
|
|
|
|
|
|
para "I'm ARTHUR of"
|
|
|
|
line "Thursday."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2014-10-27 01:37:15 +00:00
|
|
|
ArthurGivesGiftText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Here. You can have"
|
|
|
|
line "this."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2014-10-27 01:37:15 +00:00
|
|
|
ArthurGaveGiftText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "ARTHUR: A #MON"
|
|
|
|
line "that uses rock-"
|
|
|
|
|
|
|
|
para "type moves should"
|
|
|
|
line "hold on to that."
|
|
|
|
|
|
|
|
para "It pumps up rock-"
|
|
|
|
line "type attacks."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2014-10-27 01:37:15 +00:00
|
|
|
ArthurThursdayText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "ARTHUR: I'm ARTHUR"
|
|
|
|
line "of Thursday. I'm"
|
|
|
|
|
|
|
|
para "the second son out"
|
|
|
|
line "of seven children."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2014-10-27 01:37:15 +00:00
|
|
|
ArthurNotThursdayText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "ARTHUR: Today's"
|
|
|
|
line "not Thursday. How"
|
|
|
|
cont "disappointing."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-07 04:59:45 +00:00
|
|
|
Route36SignText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "ROUTE 36"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-07 04:59:45 +00:00
|
|
|
RuinsOfAlphNorthSignText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "RUINS OF ALPH"
|
|
|
|
line "NORTH ENTRANCE"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-07 04:59:45 +00:00
|
|
|
Route36TrainerTips1Text:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "TRAINER TIPS"
|
|
|
|
|
|
|
|
para "#MON stats"
|
|
|
|
line "vary--even within"
|
|
|
|
cont "the same species."
|
|
|
|
|
|
|
|
para "Their stats may be"
|
|
|
|
line "similar at first."
|
|
|
|
|
|
|
|
para "However, differ-"
|
|
|
|
line "ences will become"
|
|
|
|
|
|
|
|
para "pronounced as the"
|
|
|
|
line "#MON grow."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-07 04:59:45 +00:00
|
|
|
Route36TrainerTips2Text:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "TRAINER TIPS"
|
|
|
|
|
|
|
|
para "Use DIG to return"
|
|
|
|
line "to the entrance of"
|
|
|
|
cont "any place."
|
|
|
|
|
|
|
|
para "It is convenient"
|
|
|
|
line "for exploring"
|
|
|
|
|
|
|
|
para "caves and other"
|
|
|
|
line "landmarks."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
Route36_MapEvents:
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0, 0 ; filler
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 4 ; warp events
|
2018-01-28 18:20:04 +00:00
|
|
|
warp_event 18, 8, 3, ROUTE_36_NATIONAL_PARK_GATE
|
|
|
|
warp_event 18, 9, 4, ROUTE_36_NATIONAL_PARK_GATE
|
|
|
|
warp_event 47, 13, 1, ROUTE_36_RUINS_OF_ALPH_GATE
|
|
|
|
warp_event 48, 13, 2, ROUTE_36_RUINS_OF_ALPH_GATE
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 2 ; coord events
|
2017-12-28 19:31:25 +00:00
|
|
|
coord_event 20, 7, 1, Route36SuicuneScript
|
|
|
|
coord_event 22, 7, 1, Route36SuicuneScript
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 4 ; bg events
|
2017-12-28 19:31:25 +00:00
|
|
|
bg_event 29, 1, BGEVENT_READ, Route36TrainerTips2
|
|
|
|
bg_event 45, 11, BGEVENT_READ, RuinsOfAlphNorthSign
|
|
|
|
bg_event 55, 7, BGEVENT_READ, Route36Sign
|
|
|
|
bg_event 21, 7, BGEVENT_READ, Route36TrainerTips1
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 9 ; object events
|
2017-12-28 19:31:25 +00:00
|
|
|
object_event 20, 13, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerPsychicMark, -1
|
|
|
|
object_event 31, 14, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 5, TrainerSchoolboyAlan1, -1
|
|
|
|
object_event 35, 9, SPRITE_WEIRD_TREE, SPRITEMOVEDATA_SUDOWOODO, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, SudowoodoScript, EVENT_ROUTE_36_SUDOWOODO
|
|
|
|
object_event 51, 8, SPRITE_LASS, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 2, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, LassScript_0x1940e0, -1
|
|
|
|
object_event 44, 9, SPRITE_FISHER, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, Route36RockSmashGuyScript, -1
|
2018-01-31 03:12:53 +00:00
|
|
|
object_event 21, 4, SPRITE_FRUIT_TREE, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, Route36FruitTree, -1
|
2017-12-28 19:31:25 +00:00
|
|
|
object_event 46, 6, SPRITE_YOUNGSTER, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ArthurScript, EVENT_ROUTE_36_ARTHUR_OF_THURSDAY
|
|
|
|
object_event 33, 12, SPRITE_LASS, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, Route36FloriaScript, EVENT_FLORIA_AT_SUDOWOODO
|
2018-01-31 03:12:53 +00:00
|
|
|
object_event 21, 6, SPRITE_SUICUNE, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_SAW_SUICUNE_ON_ROUTE_36
|