pokecrystal-board/maps/IlexForest.asm

967 lines
20 KiB
NASM
Raw Normal View History

2018-01-31 08:38:45 -08:00
const_def 2 ; object constants
2016-04-07 03:13:59 -07:00
const ILEXFOREST_FARFETCHD
2015-11-26 21:22:14 -08:00
const ILEXFOREST_YOUNGSTER1
const ILEXFOREST_BLACK_BELT
const ILEXFOREST_ROCKER
const ILEXFOREST_POKE_BALL1
const ILEXFOREST_KURT
const ILEXFOREST_LASS
const ILEXFOREST_YOUNGSTER2
const ILEXFOREST_POKE_BALL2
const ILEXFOREST_POKE_BALL3
const ILEXFOREST_POKE_BALL4
IlexForest_MapScripts:
db 0 ; scene scripts
db 1 ; callbacks
callback MAPCALLBACK_OBJECTS, .FarfetchdCallback
2015-11-27 10:06:43 -08:00
.FarfetchdCallback:
2013-09-24 00:48:58 -07:00
checkevent EVENT_GOT_HM01_CUT
2015-11-27 10:06:43 -08:00
iftrue .Static
copybytetovar FarfetchdPosition
2015-11-27 10:06:43 -08:00
if_equal 1, .PositionOne
if_equal 2, .PositionTwo
if_equal 3, .PositionThree
if_equal 4, .PositionFour
if_equal 5, .PositionFive
if_equal 6, .PositionSix
if_equal 7, .PositionSeven
if_equal 8, .PositionEight
if_equal 9, .PositionNine
if_equal 10, .PositionTen
.Static:
return
2015-11-27 10:06:43 -08:00
.PositionOne:
moveobject ILEXFOREST_FARFETCHD, 14, 31
2016-04-07 03:13:59 -07:00
appear ILEXFOREST_FARFETCHD
return
2015-11-27 10:06:43 -08:00
.PositionTwo:
moveobject ILEXFOREST_FARFETCHD, 15, 25
2016-04-07 03:13:59 -07:00
appear ILEXFOREST_FARFETCHD
return
2015-11-27 10:06:43 -08:00
.PositionThree:
moveobject ILEXFOREST_FARFETCHD, 20, 24
2016-04-07 03:13:59 -07:00
appear ILEXFOREST_FARFETCHD
return
2015-11-27 10:06:43 -08:00
.PositionFour:
moveobject ILEXFOREST_FARFETCHD, 29, 22
2016-04-07 03:13:59 -07:00
appear ILEXFOREST_FARFETCHD
return
2015-11-27 10:06:43 -08:00
.PositionFive:
moveobject ILEXFOREST_FARFETCHD, 28, 31
2016-04-07 03:13:59 -07:00
appear ILEXFOREST_FARFETCHD
return
2015-11-27 10:06:43 -08:00
.PositionSix:
moveobject ILEXFOREST_FARFETCHD, 24, 35
2016-04-07 03:13:59 -07:00
appear ILEXFOREST_FARFETCHD
return
2015-11-27 10:06:43 -08:00
.PositionSeven:
moveobject ILEXFOREST_FARFETCHD, 22, 31
2016-04-07 03:13:59 -07:00
appear ILEXFOREST_FARFETCHD
return
2015-11-27 10:06:43 -08:00
.PositionEight:
moveobject ILEXFOREST_FARFETCHD, 15, 29
2016-04-07 03:13:59 -07:00
appear ILEXFOREST_FARFETCHD
return
2015-11-27 10:06:43 -08:00
.PositionNine:
moveobject ILEXFOREST_FARFETCHD, 10, 35
2016-04-07 03:13:59 -07:00
appear ILEXFOREST_FARFETCHD
return
2015-11-27 10:06:43 -08:00
.PositionTen:
moveobject ILEXFOREST_FARFETCHD, 6, 28
2016-04-07 03:13:59 -07:00
appear ILEXFOREST_FARFETCHD
return
2015-12-06 19:36:09 -08:00
IlexForestCharcoalApprenticeScript:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2015-07-10 05:08:03 -07:00
checkevent EVENT_HERDED_FARFETCHD
2015-11-27 10:06:43 -08:00
iftrue .DoneFarfetchd
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x6ef5c
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-11-27 10:06:43 -08:00
.DoneFarfetchd:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x6f019
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-11-27 10:06:43 -08:00
IlexForestFarfetchdScript:
copybytetovar FarfetchdPosition
2015-11-27 10:06:43 -08:00
if_equal 1, .Position1
if_equal 2, .Position2
if_equal 3, .Position3
if_equal 4, .Position4
if_equal 5, .Position5
if_equal 6, .Position6
if_equal 7, .Position7
if_equal 8, .Position8
if_equal 9, .Position9
if_equal 10, .Position10
.Position1:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2015-11-27 10:06:43 -08:00
writetext Text_ItsTheMissingPokemon
2015-11-29 19:29:45 -08:00
buttonsound
2015-11-27 10:06:43 -08:00
writetext Text_Kwaaaa
cry FARFETCH_D
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2016-04-07 03:13:59 -07:00
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetchd_Pos1_Pos2
moveobject ILEXFOREST_FARFETCHD, 15, 25
2016-04-07 03:13:59 -07:00
disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD
2015-11-27 10:06:43 -08:00
loadvar FarfetchdPosition, 2
end
2015-11-27 10:06:43 -08:00
.Position2:
scall .CryAndCheckFacing
if_equal DOWN, .Position2_Down
2016-04-07 03:13:59 -07:00
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetchd_Pos2_Pos3
moveobject ILEXFOREST_FARFETCHD, 20, 24
2016-04-07 03:13:59 -07:00
disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD
2015-11-27 10:06:43 -08:00
loadvar FarfetchdPosition, 3
end
2015-11-27 10:06:43 -08:00
.Position2_Down:
2016-04-07 03:13:59 -07:00
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetchd_Pos2_Pos8
moveobject ILEXFOREST_FARFETCHD, 15, 29
2016-04-07 03:13:59 -07:00
disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD
2015-11-27 10:06:43 -08:00
loadvar FarfetchdPosition, 8
end
2015-11-27 10:06:43 -08:00
.Position3:
scall .CryAndCheckFacing
if_equal LEFT, .Position3_Left
2016-04-07 03:13:59 -07:00
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetchd_Pos3_Pos4
moveobject ILEXFOREST_FARFETCHD, 29, 22
2016-04-07 03:13:59 -07:00
disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD
2015-11-27 10:06:43 -08:00
loadvar FarfetchdPosition, 4
end
2015-11-27 10:06:43 -08:00
.Position3_Left:
2016-04-07 03:13:59 -07:00
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetchd_Pos3_Pos2
moveobject ILEXFOREST_FARFETCHD, 15, 25
2016-04-07 03:13:59 -07:00
disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD
2015-11-27 10:06:43 -08:00
loadvar FarfetchdPosition, 2
end
2015-11-27 10:06:43 -08:00
.Position4:
scall .CryAndCheckFacing
if_equal UP, .Position4_Up
2016-04-07 03:13:59 -07:00
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetchd_Pos4_Pos5
moveobject ILEXFOREST_FARFETCHD, 28, 31
2016-04-07 03:13:59 -07:00
disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD
2015-11-27 10:06:43 -08:00
loadvar FarfetchdPosition, 5
end
2015-11-27 10:06:43 -08:00
.Position4_Up:
2016-04-07 03:13:59 -07:00
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetchd_Pos4_Pos3
moveobject ILEXFOREST_FARFETCHD, 20, 24
2016-04-07 03:13:59 -07:00
disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD
2015-11-27 10:06:43 -08:00
loadvar FarfetchdPosition, 3
end
2015-11-27 10:06:43 -08:00
.Position5:
scall .CryAndCheckFacing
if_equal UP, .Position5_Up
if_equal LEFT, .Position5_Left
if_equal RIGHT, .Position5_Right
2016-04-07 03:13:59 -07:00
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetchd_Pos5_Pos6
moveobject ILEXFOREST_FARFETCHD, 24, 35
2016-04-07 03:13:59 -07:00
disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD
2015-11-27 10:06:43 -08:00
loadvar FarfetchdPosition, 6
end
2015-11-27 10:06:43 -08:00
.Position5_Left:
2016-04-07 03:13:59 -07:00
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetchd_Pos5_Pos7
moveobject ILEXFOREST_FARFETCHD, 22, 31
2016-04-07 03:13:59 -07:00
disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD
2015-11-27 10:06:43 -08:00
loadvar FarfetchdPosition, 7
end
2015-11-27 10:06:43 -08:00
.Position5_Up:
2016-04-07 03:13:59 -07:00
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos5_Pos4_Up
moveobject ILEXFOREST_FARFETCHD, 29, 22
2016-04-07 03:13:59 -07:00
disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD
2015-11-27 10:06:43 -08:00
loadvar FarfetchdPosition, 4
end
2015-11-27 10:06:43 -08:00
.Position5_Right:
2016-04-07 03:13:59 -07:00
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos5_Pos4_Right
moveobject ILEXFOREST_FARFETCHD, 29, 22
2016-04-07 03:13:59 -07:00
disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD
2015-11-27 10:06:43 -08:00
loadvar FarfetchdPosition, 4
end
2015-11-27 10:06:43 -08:00
.Position6:
scall .CryAndCheckFacing
if_equal RIGHT, .Position6_Right
2016-04-07 03:13:59 -07:00
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos6_Pos7
moveobject ILEXFOREST_FARFETCHD, 22, 31
2016-04-07 03:13:59 -07:00
disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD
2015-11-27 10:06:43 -08:00
loadvar FarfetchdPosition, 7
end
2015-11-27 10:06:43 -08:00
.Position6_Right:
2016-04-07 03:13:59 -07:00
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos6_Pos5
moveobject ILEXFOREST_FARFETCHD, 28, 31
2016-04-07 03:13:59 -07:00
disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD
2015-11-27 10:06:43 -08:00
loadvar FarfetchdPosition, 5
end
2015-11-27 10:06:43 -08:00
.Position7:
scall .CryAndCheckFacing
if_equal DOWN, .Position7_Down
if_equal LEFT, .Position7_Left
2016-04-07 03:13:59 -07:00
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos7_Pos8
moveobject ILEXFOREST_FARFETCHD, 15, 29
2016-04-07 03:13:59 -07:00
disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD
2015-11-27 10:06:43 -08:00
loadvar FarfetchdPosition, 8
end
2015-11-27 10:06:43 -08:00
.Position7_Left:
2016-04-07 03:13:59 -07:00
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos7_Pos6
moveobject ILEXFOREST_FARFETCHD, 24, 35
2016-04-07 03:13:59 -07:00
disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD
2015-11-27 10:06:43 -08:00
loadvar FarfetchdPosition, 6
end
2015-11-27 10:06:43 -08:00
.Position7_Down:
2016-04-07 03:13:59 -07:00
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos7_Pos5
moveobject ILEXFOREST_FARFETCHD, 28, 31
2016-04-07 03:13:59 -07:00
disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD
2015-11-27 10:06:43 -08:00
loadvar FarfetchdPosition, 5
end
2015-11-27 10:06:43 -08:00
.Position8:
scall .CryAndCheckFacing
if_equal UP, .Position8_Up
if_equal LEFT, .Position8_Left
if_equal RIGHT, .Position8_Right
2016-04-07 03:13:59 -07:00
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos8_Pos9
moveobject ILEXFOREST_FARFETCHD, 10, 35
2016-04-07 03:13:59 -07:00
disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD
2015-11-27 10:06:43 -08:00
loadvar FarfetchdPosition, 9
end
2015-11-27 10:06:43 -08:00
.Position8_Right:
2016-04-07 03:13:59 -07:00
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos8_Pos7
moveobject ILEXFOREST_FARFETCHD, 22, 31
2016-04-07 03:13:59 -07:00
disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD
2015-11-27 10:06:43 -08:00
loadvar FarfetchdPosition, 7
end
2015-11-27 10:06:43 -08:00
.Position8_Up:
.Position8_Left:
2016-04-07 03:13:59 -07:00
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos8_Pos2
moveobject ILEXFOREST_FARFETCHD, 15, 25
2016-04-07 03:13:59 -07:00
disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD
2015-11-27 10:06:43 -08:00
loadvar FarfetchdPosition, 2
end
2015-11-27 10:06:43 -08:00
.Position9:
scall .CryAndCheckFacing
if_equal DOWN, .Position9_Down
if_equal RIGHT, .Position9_Right
2016-04-07 03:13:59 -07:00
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos9_Pos10
moveobject ILEXFOREST_FARFETCHD, 6, 28
2016-04-07 03:13:59 -07:00
disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD
2015-11-27 10:06:43 -08:00
loadvar FarfetchdPosition, 10
2015-11-26 21:22:14 -08:00
appear ILEXFOREST_BLACK_BELT
setevent EVENT_CHARCOAL_KILN_BOSS
2015-07-10 05:08:03 -07:00
setevent EVENT_HERDED_FARFETCHD
end
2015-11-27 10:06:43 -08:00
.Position9_Right:
2016-04-07 03:13:59 -07:00
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos9_Pos8_Right
moveobject ILEXFOREST_FARFETCHD, 15, 29
2016-04-07 03:13:59 -07:00
disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD
2015-11-27 10:06:43 -08:00
loadvar FarfetchdPosition, 8
end
2015-11-27 10:06:43 -08:00
.Position9_Down:
2016-04-07 03:13:59 -07:00
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos9_Pos8_Down
moveobject ILEXFOREST_FARFETCHD, 15, 29
2016-04-07 03:13:59 -07:00
disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD
2015-11-27 10:06:43 -08:00
loadvar FarfetchdPosition, 8
end
2015-11-27 10:06:43 -08:00
.Position10:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2015-11-27 10:06:43 -08:00
writetext Text_Kwaaaa
cry FARFETCH_D
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-11-27 10:06:43 -08:00
.CryAndCheckFacing:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2015-11-27 10:06:43 -08:00
writetext Text_Kwaaaa
cry FARFETCH_D
2015-11-25 07:16:29 -08:00
waitbutton
closetext
checkcode VAR_FACING
end
2015-12-06 19:36:09 -08:00
IlexForestCharcoalMasterScript:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2013-09-24 00:48:58 -07:00
checkevent EVENT_GOT_HM01_CUT
2015-11-27 10:06:43 -08:00
iftrue .AlreadyGotCut
2015-12-06 19:36:09 -08:00
writetext Text_CharcoalMasterIntro
2015-11-29 19:29:45 -08:00
buttonsound
2015-11-04 17:20:14 -08:00
verbosegiveitem HM_CUT
2013-09-24 00:48:58 -07:00
setevent EVENT_GOT_HM01_CUT
2015-12-06 19:36:09 -08:00
writetext Text_CharcoalMasterOutro
2015-11-25 07:16:29 -08:00
waitbutton
closetext
setevent EVENT_ILEX_FOREST_FARFETCHD
setevent EVENT_ILEX_FOREST_APPRENTICE
setevent EVENT_ILEX_FOREST_CHARCOAL_MASTER
clearevent EVENT_CHARCOAL_KILN_FARFETCH_D
clearevent EVENT_CHARCOAL_KILN_APPRENTICE
clearevent EVENT_CHARCOAL_KILN_BOSS
end
2015-11-27 10:06:43 -08:00
.AlreadyGotCut:
2015-12-06 19:36:09 -08:00
writetext Text_CharcoalMasterTalkAfter
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-12-06 19:36:09 -08:00
IlexForestHeadbuttGuyScript:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2013-09-24 00:48:58 -07:00
checkevent EVENT_GOT_TM02_HEADBUTT
2015-12-06 19:36:09 -08:00
iftrue .AlreadyGotHeadbutt
writetext Text_HeadbuttIntro
2015-11-29 19:29:45 -08:00
buttonsound
2015-11-04 17:20:14 -08:00
verbosegiveitem TM_HEADBUTT
2015-12-06 19:36:09 -08:00
iffalse .BagFull
2013-09-24 00:48:58 -07:00
setevent EVENT_GOT_TM02_HEADBUTT
2015-12-06 19:36:09 -08:00
.AlreadyGotHeadbutt:
writetext Text_HeadbuttOutro
2015-11-25 07:16:29 -08:00
waitbutton
2015-12-06 19:36:09 -08:00
.BagFull:
2015-11-25 07:16:29 -08:00
closetext
end
TrainerBugCatcherWayne:
trainer BUG_CATCHER, WAYNE, EVENT_BEAT_BUG_CATCHER_WAYNE, BugCatcherWayneSeenText, BugCatcherWayneBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2015-11-25 07:16:29 -08:00
end_if_just_battled
2015-12-09 15:25:44 -08:00
opentext
writetext BugCatcherWayneAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-12-06 19:36:09 -08:00
IlexForestLassScript:
jumptextfaceplayer Text_IlexForestLass
2015-12-15 07:55:56 -08:00
IlexForestRevive:
itemball REVIVE
2015-12-15 07:55:56 -08:00
IlexForestXAttack:
itemball X_ATTACK
2015-12-15 07:55:56 -08:00
IlexForestAntidote:
itemball ANTIDOTE
2015-12-15 07:55:56 -08:00
IlexForestEther:
itemball ETHER
IlexForestHiddenEther:
hiddenitem ETHER, EVENT_ILEX_FOREST_HIDDEN_ETHER
IlexForestHiddenSuperPotion:
hiddenitem SUPER_POTION, EVENT_ILEX_FOREST_HIDDEN_SUPER_POTION
IlexForestHiddenFullHeal:
hiddenitem FULL_HEAL, EVENT_ILEX_FOREST_HIDDEN_FULL_HEAL
2015-06-25 21:01:08 -07:00
IlexForestBoulder:
; unused
2015-06-23 14:02:58 -07:00
jumpstd strengthboulder
2015-07-10 01:20:21 -07:00
MapIlexForestSignpost0Script:
2015-12-06 19:36:09 -08:00
jumptext Text_IlexForestSignpost0
2015-07-10 01:20:21 -07:00
MapIlexForestSignpost4Script:
2015-07-10 05:08:03 -07:00
checkevent EVENT_FOREST_IS_RESTLESS
2015-11-27 10:06:43 -08:00
iftrue .ForestIsRestless
jump .DontDoCelebiEvent
2015-11-27 10:06:43 -08:00
.ForestIsRestless:
checkitem GS_BALL
2015-11-27 10:06:43 -08:00
iftrue .AskCelebiEvent
.DontDoCelebiEvent:
2015-12-06 19:36:09 -08:00
jumptext Text_IlexForestShrine
2015-11-27 10:06:43 -08:00
.AskCelebiEvent:
2015-12-09 15:25:44 -08:00
opentext
2015-12-06 19:36:09 -08:00
writetext Text_ShrineCelebiEvent
yesorno
2015-11-27 10:06:43 -08:00
iftrue .CelebiEvent
2015-11-25 07:16:29 -08:00
closetext
end
2015-11-27 10:06:43 -08:00
.CelebiEvent:
2015-11-04 17:20:14 -08:00
takeitem GS_BALL
2015-07-10 05:08:03 -07:00
clearevent EVENT_FOREST_IS_RESTLESS
setevent EVENT_AZALEA_TOWN_KURT
2015-11-26 21:22:14 -08:00
disappear ILEXFOREST_LASS
clearevent EVENT_ROUTE_34_ILEX_FOREST_GATE_LASS
2015-12-06 19:36:09 -08:00
writetext Text_InsertGSBall
2015-11-25 07:16:29 -08:00
waitbutton
closetext
pause 20
showemote EMOTE_SHOCK, PLAYER, 20
special FadeOutMusic
applymovement PLAYER, MovementData_0x6ef58
pause 30
spriteface PLAYER, DOWN
pause 20
2018-01-22 11:34:55 -08:00
clearflag ENGINE_FOREST_IS_RESTLESS
special CelebiShrineEvent
loadwildmon CELEBI, 30
startbattle
reloadmapafterbattle
pause 20
special CheckCaughtCelebi
2015-11-27 10:06:43 -08:00
iffalse .DidntCatchCelebi
2015-11-26 21:22:14 -08:00
appear ILEXFOREST_KURT
applymovement ILEXFOREST_KURT, MovementData_0x6ef4e
2015-12-09 15:25:44 -08:00
opentext
2015-12-06 19:36:09 -08:00
writetext Text_KurtCaughtCelebi
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2015-11-26 21:22:14 -08:00
applymovement ILEXFOREST_KURT, MovementData_0x6ef53
disappear ILEXFOREST_KURT
2015-11-27 10:06:43 -08:00
.DidntCatchCelebi:
end
2015-11-27 10:06:43 -08:00
MovementData_Farfetchd_Pos1_Pos2:
2016-05-14 10:46:14 -07:00
big_step UP
big_step UP
big_step UP
big_step UP
big_step UP
step_end
2015-11-27 10:06:43 -08:00
MovementData_Farfetchd_Pos2_Pos3:
2016-05-14 10:46:14 -07:00
big_step UP
big_step UP
big_step RIGHT
big_step RIGHT
big_step RIGHT
big_step RIGHT
big_step RIGHT
big_step DOWN
step_end
2015-11-27 10:06:43 -08:00
MovementData_Farfetchd_Pos2_Pos8:
2016-05-14 10:46:14 -07:00
big_step DOWN
big_step DOWN
big_step DOWN
big_step DOWN
big_step DOWN
step_end
2015-11-27 10:06:43 -08:00
MovementData_Farfetchd_Pos3_Pos4:
2016-05-14 10:46:14 -07:00
big_step RIGHT
big_step RIGHT
big_step RIGHT
big_step RIGHT
big_step RIGHT
big_step RIGHT
step_end
2015-11-27 10:06:43 -08:00
MovementData_Farfetchd_Pos3_Pos2:
2016-05-14 10:46:14 -07:00
big_step UP
big_step LEFT
big_step LEFT
big_step LEFT
big_step LEFT
step_end
2015-11-27 10:06:43 -08:00
MovementData_Farfetchd_Pos4_Pos5:
2016-05-14 10:46:14 -07:00
big_step DOWN
big_step DOWN
big_step DOWN
big_step DOWN
big_step DOWN
big_step DOWN
step_end
2015-11-27 10:06:43 -08:00
MovementData_Farfetchd_Pos4_Pos3:
2016-05-14 10:46:14 -07:00
big_step LEFT
jump_step LEFT
big_step LEFT
big_step LEFT
step_end
2015-11-27 10:06:43 -08:00
MovementData_Farfetchd_Pos5_Pos6:
2016-05-14 10:46:14 -07:00
big_step DOWN
big_step DOWN
big_step DOWN
big_step DOWN
big_step DOWN
big_step LEFT
big_step LEFT
big_step LEFT
big_step LEFT
step_end
2015-11-27 10:06:43 -08:00
MovementData_Farfetchd_Pos5_Pos7:
2016-05-14 10:46:14 -07:00
big_step LEFT
big_step LEFT
big_step LEFT
big_step LEFT
step_end
2015-11-27 10:06:43 -08:00
MovementData_Farfetched_Pos5_Pos4_Up:
2016-05-14 10:46:14 -07:00
big_step UP
big_step UP
big_step UP
big_step RIGHT
big_step UP
step_end
2015-11-27 10:06:43 -08:00
MovementData_Farfetched_Pos5_Pos4_Right:
2016-05-14 10:46:14 -07:00
big_step RIGHT
turn_head UP
2016-05-14 09:28:00 -07:00
step_sleep 1
2016-05-14 10:46:14 -07:00
turn_head DOWN
2016-05-14 09:28:00 -07:00
step_sleep 1
2016-05-14 10:46:14 -07:00
turn_head UP
2016-05-14 09:28:00 -07:00
step_sleep 1
2016-05-14 10:46:14 -07:00
big_step DOWN
big_step DOWN
fix_facing
2016-05-14 10:46:14 -07:00
jump_step UP
2016-05-14 09:28:00 -07:00
step_sleep 8
step_sleep 8
remove_fixed_facing
2016-05-14 10:46:14 -07:00
big_step UP
big_step UP
big_step UP
big_step UP
big_step UP
step_end
2015-11-27 10:06:43 -08:00
MovementData_Farfetched_Pos6_Pos7:
2016-05-14 10:46:14 -07:00
big_step LEFT
big_step LEFT
big_step LEFT
big_step UP
big_step UP
big_step RIGHT
big_step UP
big_step UP
step_end
2015-11-27 10:06:43 -08:00
MovementData_Farfetched_Pos6_Pos5:
2016-05-14 10:46:14 -07:00
big_step RIGHT
big_step RIGHT
big_step RIGHT
big_step RIGHT
big_step UP
big_step UP
big_step UP
big_step UP
step_end
2015-11-27 10:06:43 -08:00
MovementData_Farfetched_Pos7_Pos8:
2016-05-14 10:46:14 -07:00
big_step UP
big_step UP
big_step LEFT
big_step LEFT
big_step LEFT
big_step LEFT
big_step LEFT
step_end
2015-11-27 10:06:43 -08:00
MovementData_Farfetched_Pos7_Pos6:
2016-05-14 10:46:14 -07:00
big_step DOWN
big_step DOWN
big_step LEFT
big_step DOWN
big_step DOWN
big_step RIGHT
big_step RIGHT
big_step RIGHT
step_end
2015-11-27 10:06:43 -08:00
MovementData_Farfetched_Pos7_Pos5:
2016-05-14 10:46:14 -07:00
big_step RIGHT
big_step RIGHT
big_step RIGHT
big_step RIGHT
big_step RIGHT
big_step RIGHT
step_end
2015-11-27 10:06:43 -08:00
MovementData_Farfetched_Pos8_Pos9:
2016-05-14 10:46:14 -07:00
big_step DOWN
big_step LEFT
big_step DOWN
big_step DOWN
big_step DOWN
big_step DOWN
big_step DOWN
step_end
2015-11-27 10:06:43 -08:00
MovementData_Farfetched_Pos8_Pos7:
2016-05-14 10:46:14 -07:00
big_step RIGHT
big_step RIGHT
big_step RIGHT
big_step RIGHT
big_step RIGHT
step_end
2015-11-27 10:06:43 -08:00
MovementData_Farfetched_Pos8_Pos2:
2016-05-14 10:46:14 -07:00
big_step UP
big_step UP
big_step UP
big_step UP
step_end
2015-11-27 10:06:43 -08:00
MovementData_Farfetched_Pos9_Pos10:
2016-05-14 10:46:14 -07:00
big_step LEFT
big_step LEFT
fix_facing
2016-05-14 10:46:14 -07:00
jump_step RIGHT
2016-05-14 09:28:00 -07:00
step_sleep 8
step_sleep 8
remove_fixed_facing
2016-05-14 10:46:14 -07:00
big_step LEFT
big_step LEFT
big_step UP
big_step UP
big_step UP
big_step UP
big_step UP
big_step UP
step_end
2015-11-27 10:06:43 -08:00
MovementData_Farfetched_Pos9_Pos8_Right:
2016-05-14 10:46:14 -07:00
big_step RIGHT
big_step RIGHT
big_step RIGHT
big_step RIGHT
big_step UP
big_step UP
big_step UP
big_step UP
big_step UP
step_end
2015-11-27 10:06:43 -08:00
MovementData_Farfetched_Pos9_Pos8_Down:
2016-05-14 10:46:14 -07:00
big_step LEFT
big_step LEFT
fix_facing
2016-05-14 10:46:14 -07:00
jump_step RIGHT
2016-05-14 09:28:00 -07:00
step_sleep 8
step_sleep 8
remove_fixed_facing
2016-05-14 10:46:14 -07:00
big_step RIGHT
big_step RIGHT
big_step RIGHT
big_step RIGHT
big_step UP
big_step UP
big_step UP
big_step UP
big_step UP
step_end
2015-07-10 01:20:21 -07:00
MovementData_0x6ef4e:
2016-05-14 10:46:14 -07:00
step UP
step UP
step UP
step UP
step_end
2015-07-10 01:20:21 -07:00
MovementData_0x6ef53:
2016-05-14 10:46:14 -07:00
step DOWN
step DOWN
step DOWN
step DOWN
step_end
2015-07-10 01:20:21 -07:00
MovementData_0x6ef58:
fix_facing
2016-05-14 10:46:14 -07:00
slow_step DOWN
remove_fixed_facing
step_end
2015-07-10 01:20:21 -07:00
UnknownText_0x6ef5c:
text "Oh, man… My boss"
line "is going to be"
cont "steaming…"
para "The FARFETCH'D"
line "that CUTS trees"
para "for charcoal took"
line "off on me."
para "I can't go looking"
line "for it here in the"
cont "ILEX FOREST."
para "It's too big, dark"
line "and scary for me…"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x6f019:
text "Wow! Thanks a"
line "whole bunch!"
para "My boss's #MON"
line "won't obey me be-"
cont "cause I don't have"
cont "a BADGE."
done
2015-11-27 10:06:43 -08:00
Text_ItsTheMissingPokemon:
text "It's the missing"
line "#MON!"
done
2015-11-27 10:06:43 -08:00
Text_Kwaaaa:
text "FARFETCH'D: Kwaa!"
done
2015-12-06 19:36:09 -08:00
Text_CharcoalMasterIntro:
text "Ah! My FARFETCH'D!"
para "You found it for"
line "us, kid?"
para "Without it, we"
line "wouldn't be able"
para "to CUT trees for"
line "charcoal."
para "Thanks, kid!"
para "Now, how can I"
line "thank you…"
para "I know! Here, take"
line "this."
done
2015-12-06 19:36:09 -08:00
Text_CharcoalMasterOutro:
text "That's the CUT HM."
line "Teach that to a"
para "#MON to clear"
line "small trees."
para "Of course, you"
line "have to have the"
para "GYM BADGE from"
line "AZALEA to use it."
done
2015-12-06 19:36:09 -08:00
Text_CharcoalMasterTalkAfter:
text "Do you want to"
line "apprentice as a"
para "charcoal maker"
line "with me?"
para "You'll be first-"
line "rate in ten years!"
done
2015-12-06 19:36:09 -08:00
Text_HeadbuttIntro:
text "What am I doing?"
para "I'm shaking trees"
line "using HEADBUTT."
para "It's fun. Here,"
line "you try it too!"
done
2015-12-06 19:36:09 -08:00
Text_HeadbuttOutro:
text "Rattle trees with"
line "HEADBUTT. Some-"
cont "times, sleeping"
cont "#MON fall out."
done
2015-12-06 19:36:09 -08:00
Text_IlexForestLass:
text "Did something"
line "happen to the"
cont "forest's guardian?"
done
2015-12-06 19:36:09 -08:00
Text_IlexForestSignpost0:
text "ILEX FOREST is"
line "so overgrown with"
para "trees that you"
line "can't see the sky."
para "Please watch out"
line "for items that may"
cont "have been dropped."
done
2015-12-06 19:36:09 -08:00
Text_IlexForestShrine:
text "ILEX FOREST"
line "SHRINE…"
para "It's in honor of"
line "the forest's"
cont "protector…"
done
2015-12-06 19:36:09 -08:00
Text_ShrineCelebiEvent:
text "ILEX FOREST"
line "SHRINE…"
para "It's in honor of"
line "the forest's"
cont "protector…"
para "Oh? What is this?"
para "It's a hole."
line "It looks like the"
para "GS BALL would fit"
line "inside it."
para "Want to put the GS"
line "BALL here?"
done
2015-12-06 19:36:09 -08:00
Text_InsertGSBall:
text "<PLAYER> put in the"
line "GS BALL."
done
2015-12-06 19:36:09 -08:00
Text_KurtCaughtCelebi:
text "Whew, wasn't that"
line "something!"
para "<PLAYER>, that was"
line "fantastic. Thanks!"
para "The legends about"
line "that SHRINE were"
cont "real after all."
para "I feel inspired by"
line "what I just saw."
para "It motivates me to"
line "make better BALLS!"
para "I'm going!"
done
BugCatcherWayneSeenText:
text "Don't sneak up on"
line "me like that!"
para "You frightened a"
line "#MON away!"
done
BugCatcherWayneBeatenText:
text "I hadn't seen that"
line "#MON before…"
done
BugCatcherWayneAfterBattleText:
text "A #MON I've"
line "never seen before"
para "fell out of the"
line "tree when I used"
cont "HEADBUTT."
para "I ought to use"
line "HEADBUTT in other"
cont "places too."
done
IlexForest_MapEvents:
db 0, 0 ; filler
db 3 ; warp events
warp_event 1, 5, 3, ROUTE_34_ILEX_FOREST_GATE
warp_event 3, 42, 1, ILEX_FOREST_AZALEA_GATE
warp_event 3, 43, 2, ILEX_FOREST_AZALEA_GATE
db 0 ; coord events
db 5 ; bg events
bg_event 3, 17, BGEVENT_READ, MapIlexForestSignpost0Script
bg_event 11, 7, BGEVENT_ITEM, IlexForestHiddenEther
bg_event 22, 14, BGEVENT_ITEM, IlexForestHiddenSuperPotion
bg_event 1, 17, BGEVENT_ITEM, IlexForestHiddenFullHeal
bg_event 8, 22, BGEVENT_UP, MapIlexForestSignpost4Script
db 11 ; object events
object_event 14, 31, SPRITE_BIRD, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, IlexForestFarfetchdScript, EVENT_ILEX_FOREST_FARFETCHD
object_event 7, 28, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, IlexForestCharcoalApprenticeScript, EVENT_ILEX_FOREST_APPRENTICE
object_event 5, 28, SPRITE_BLACK_BELT, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, IlexForestCharcoalMasterScript, EVENT_ILEX_FOREST_CHARCOAL_MASTER
object_event 15, 14, SPRITE_ROCKER, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, IlexForestHeadbuttGuyScript, -1
object_event 20, 32, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, IlexForestRevive, EVENT_ILEX_FOREST_REVIVE
object_event 8, 29, SPRITE_KURT, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_ILEX_FOREST_KURT
object_event 3, 24, SPRITE_LASS, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, IlexForestLassScript, EVENT_ILEX_FOREST_LASS
object_event 12, 1, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 0, TrainerBugCatcherWayne, -1
object_event 9, 17, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, IlexForestXAttack, EVENT_ILEX_FOREST_X_ATTACK
object_event 17, 7, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, IlexForestAntidote, EVENT_ILEX_FOREST_ANTIDOTE
object_event 27, 1, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, IlexForestEther, EVENT_ILEX_FOREST_ETHER