Fix merge conflicts

This commit is contained in:
DizzyEggg
2019-11-03 19:55:19 +01:00
448 changed files with 12962 additions and 12399 deletions

View File

@@ -1319,7 +1319,7 @@
various \battler, 4
.endm
.macro resetintrimidatetracebits battler:req
.macro resetintimidatetracebits battler:req
various \battler, VARIOUS_RESET_INTIMIDATE_TRACE_BITS
.endm

View File

@@ -1506,7 +1506,7 @@
.byte 0xd9
.endm
.macro hidebox2
.macro closebraillemessage
.byte 0xda
.endm

View File

@@ -1 +1 @@
gUnknown_03006328
gItemUseCB

View File

@@ -1,5 +1,5 @@
gUnknown_03006080
gUnknown_03006084
gWhichTrainerToFaceAfterBattle
gPostBattleMovementScript
gApproachingTrainers
gNoOfApproachingTrainers
gUnknown_030060AC
gTrainerApproachedPlayer

View File

@@ -1154,13 +1154,13 @@ Move_PSYCHO_SHIFT:
createsprite gUnknown_08596F98, ANIM_ATTACKER, 2, 0
delay 30
waitforvisualfinish
createsprite gUnknown_08593850, ANIM_ATTACKER, 40, 0, 0, 1, 0
createsprite gThinRingShrinkingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 1, 0
playsewithpan SE_W048, -64
delay 14
createsprite gUnknown_08593850, ANIM_ATTACKER, 40, 0, 0, 1, 0
createsprite gThinRingShrinkingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 1, 0
playsewithpan SE_W048, -64
delay 14
createsprite gUnknown_08593850, ANIM_ATTACKER, 40, 0, 0, 1, 0
createsprite gThinRingShrinkingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 1, 0
playsewithpan SE_W048, -64
waitforvisualfinish
clearmonbg ANIM_ATK_PARTNER
@@ -1262,13 +1262,13 @@ Move_POWER_TRICK:
loadspritegfx ANIM_TAG_THIN_RING
monbg ANIM_ATK_PARTNER
waitforvisualfinish
createsprite gUnknown_08593850, ANIM_ATTACKER, 40, 0, 0, 0, 0
createsprite gThinRingShrinkingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
playsewithpan SE_W048, -64
delay 14
createsprite gUnknown_08593850, ANIM_ATTACKER, 40, 0, 0, 0, 0
createsprite gThinRingShrinkingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
playsewithpan SE_W048, -64
delay 14
createsprite gUnknown_08593850, ANIM_ATTACKER, 40, 0, 0, 0, 0
createsprite gThinRingShrinkingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
playsewithpan SE_W048, -64
waitforvisualfinish
createvisualtask sub_81177E4, 5, 0
@@ -1350,13 +1350,13 @@ Move_COPYCAT:
waitforvisualfinish
createsprite gSimplePaletteBlendSpriteTemplate, ANIM_ATTACKER, 2, 2, 0, 12, 0, RGB_WHITE
waitforvisualfinish
createsprite gUnknown_08593850, ANIM_ATTACKER, 40, 0, 0, 0, 0
createsprite gThinRingShrinkingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
playsewithpan SE_W048, -64
delay 14
createsprite gUnknown_08593850, ANIM_ATTACKER, 40, 0, 0, 0, 0
createsprite gThinRingShrinkingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
playsewithpan SE_W048, -64
delay 14
createsprite gUnknown_08593850, ANIM_ATTACKER, 40, 0, 0, 0, 0
createsprite gThinRingShrinkingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
playsewithpan SE_W048, -64
waitforvisualfinish
end
@@ -1461,7 +1461,7 @@ Move_PUNISHMENT:
monbg ANIM_TARGET
setalpha 12, 8
playsewithpan SE_W003, SOUND_PAN_TARGET
createsprite gPunishmentImpactSpriteTemplate 2, 4, 0, 0, 1, 2,
createsprite gPunishmentImpactSpriteTemplate 2, 4, 0, 0, 1, 2
createvisualtask AnimTask_ShakeMon 2, ANIM_TARGET, 3, 0, 6, 1
waitforvisualfinish
clearmonbg ANIM_TARGET
@@ -1483,7 +1483,7 @@ Move_LAST_RESORT:
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, 0, 18, 6, 2, 4
waitforvisualfinish
createsprite gSimplePaletteBlendSpriteTemplate, 2, 5, 1, 0, 16, 16, RGB(31, 31, 31)
createsprite gSlideMonToOffsetSpriteTemplate, 2, 5, 0, 20, 0, 0, 4,
createsprite gSlideMonToOffsetSpriteTemplate, 2, 5, 0, 20, 0, 0, 4
delay 3
waitforvisualfinish
playsewithpan SE_W025B, SOUND_PAN_TARGET
@@ -1590,11 +1590,11 @@ Move_AQUA_RING:
createsprite gUnknown_08595238, 2, 4, 12, 0, 25, 0
setalpha 8, 8
playsewithpan SE_W208, SOUND_PAN_ATTACKER,
createsprite gUnknown_08593C64, 2, 0
createsprite gGuardRingSpriteTemplate, 2, 0
delay 4
createsprite gUnknown_08593C64, 2, 0
createsprite gGuardRingSpriteTemplate, 2, 0
delay 4
createsprite gUnknown_08593C64, 2, 0
createsprite gGuardRingSpriteTemplate, 2, 0
waitforvisualfinish
playsewithpan SE_REAPOKE, SOUND_PAN_ATTACKER
createvisualtask sub_8115A04, 2, 10, 0, 2, 10, RGB(31, 31, 31)
@@ -1959,49 +1959,49 @@ Move_AQUA_TAIL:
Move_SEED_BOMB:
loadspritegfx ANIM_TAG_SEED
loadspritegfx ANIM_TAG_EXPLOSION
createsprite gUnknown_0859351C, ANIM_TARGET, 2, 20, 0
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
delay 5
createsprite gUnknown_0859351C, ANIM_TARGET, 2, 20, 0
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
delay 5
createsprite gUnknown_0859351C, ANIM_TARGET, 2, 20, 0
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
delay 5
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 30, 1
createsprite gUnknown_0859351C, ANIM_TARGET, 2, 20, 0
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
playsewithpan SE_W120, SOUND_PAN_TARGET
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_TARGET, 4, 6, 5, 1, 0
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, 6, 5, 1, 0
delay 6
createsprite gUnknown_0859351C, ANIM_TARGET, 2, 20, 0
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
playsewithpan SE_W120, SOUND_PAN_TARGET
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_TARGET, 4, -16, -15, 1, 0
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, -16, -15, 1, 0
delay 6
createsprite gUnknown_0859351C, ANIM_TARGET, 2, 20, 0
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
playsewithpan SE_W120, SOUND_PAN_TARGET
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_TARGET, 4, 16, -5, 1, 0
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, 16, -5, 1, 0
delay 6
createsprite gUnknown_0859351C, ANIM_TARGET, 2, 20, 0
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
playsewithpan SE_W120, SOUND_PAN_TARGET
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_TARGET, 4, -12, 18, 1, 0
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, -12, 18, 1, 0
delay 6
createsprite gUnknown_0859351C, ANIM_TARGET, 2, 20, 0
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
playsewithpan SE_W120, SOUND_PAN_TARGET
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_TARGET, 4, 0, 5, 1, 0
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, 0, 5, 1, 0
delay 6
createsprite gUnknown_0859351C, ANIM_TARGET, 2, 20, 0
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
playsewithpan SE_W120, SOUND_PAN_TARGET
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_TARGET, 4, 6, 5, 1, 0
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, 6, 5, 1, 0
delay 6
createsprite gUnknown_0859351C, ANIM_TARGET, 2, 20, 0
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
playsewithpan SE_W120, SOUND_PAN_TARGET
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_TARGET, 4, -16, -15, 1, 0
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, -16, -15, 1, 0
delay 6
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_TARGET, 4, 16, -5, 1, 0
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, 16, -5, 1, 0
playsewithpan SE_W120, SOUND_PAN_TARGET
delay 6
playsewithpan SE_W120, SOUND_PAN_TARGET
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_TARGET, 4, -12, 18, 1, 0
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, -12, 18, 1, 0
delay 6
playsewithpan SE_W120, SOUND_PAN_TARGET
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_TARGET, 4, 0, 5, 1, 0
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, 0, 5, 1, 0
waitforvisualfinish
end
@@ -2041,23 +2041,23 @@ Move_BUG_BUZZ:
loadspritegfx ANIM_TAG_THIN_RING
monbg ANIM_DEF_PARTNER
call SetBugBg
createvisualtask sub_8106D90, 2, 0
createsprite gBattleAnimSpriteTemplate_8593898, ANIM_ATTACKER, 3, 0, 0, 0, 0, 31, 8
createvisualtask AnimTask_UproarDistortion, 2, 0
createsprite gUproarRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, 31, 8
playsewithpan SE_W253, SOUND_PAN_ATTACKER
createsprite gBattleAnimSpriteTemplate_8593BB8, ANIM_ATTACKER, 2, 0, 29, -12, 0
createsprite gBattleAnimSpriteTemplate_8593BB8, ANIM_ATTACKER, 2, 0, -12, -29, 1
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, 29, -12, 0
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, -12, -29, 1
delay 16
createvisualtask sub_8106D90, 2, 0
createsprite gBattleAnimSpriteTemplate_8593898, ANIM_ATTACKER, 3, 0, 0, 0, 0, 31, 8
createvisualtask AnimTask_UproarDistortion, 2, 0
createsprite gUproarRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, 31, 8
playsewithpan SE_W253, SOUND_PAN_ATTACKER
createsprite gBattleAnimSpriteTemplate_8593BB8, ANIM_ATTACKER, 2, 0, 12, -29, 1
createsprite gBattleAnimSpriteTemplate_8593BB8, ANIM_ATTACKER, 2, 0, -29, -12, 0
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, 12, -29, 1
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, -29, -12, 0
delay 16
createvisualtask sub_8106D90, 2, 0
createsprite gBattleAnimSpriteTemplate_8593898, ANIM_ATTACKER, 3, 0, 0, 0, 0, 31, 8
createvisualtask AnimTask_UproarDistortion, 2, 0
createsprite gUproarRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, 31, 8
playsewithpan SE_W253, SOUND_PAN_ATTACKER
createsprite gBattleAnimSpriteTemplate_8593BB8, ANIM_ATTACKER, 2, 0, 24, -24, 1
createsprite gBattleAnimSpriteTemplate_8593BB8, ANIM_ATTACKER, 2, 0, -24, -24, 0
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, 24, -24, 1
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, -24, -24, 0
waitforvisualfinish
clearmonbg ANIM_DEF_PARTNER
call UnsetBugBg
@@ -2854,7 +2854,7 @@ Move_ROCK_CLIMB:
delay 30
createsprite gSlideMonToOriginalPosSpriteTemplate, 2, 3, 0, 0, 6
delay 4
createsprite gSlideMonToOriginalPosSpriteTemplate, 2, 3, 1, 0, 6,
createsprite gSlideMonToOriginalPosSpriteTemplate, 2, 3, 1, 0, 6
clearmonbg ANIM_DEF_PARTNER
blendoff
end
@@ -3671,7 +3671,7 @@ Move_DOUBLE_HIT:
playsewithpan SE_W004, SOUND_PAN_TARGET
delay 8
waitforvisualfinish
createsprite gHorizontalLungeSpriteTemplate, 2, 2, 4, 4,
createsprite gHorizontalLungeSpriteTemplate, 2, 2, 4, 4
delay 6
createsprite gBasicHitSplatSpriteTemplate, 2, 4, 0, 0, 1, 2
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
@@ -5567,19 +5567,19 @@ Move_SELF_DESTRUCT:
end
SelfDestruct1:
playsewithpan SE_W120, SOUND_PAN_ATTACKER
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_ATTACKER, 3, 0, 0, 0, 1
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 1
delay 6
playsewithpan SE_W120, SOUND_PAN_ATTACKER
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_ATTACKER, 3, 24, -24, 0, 1
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 24, -24, 0, 1
delay 6
playsewithpan SE_W120, SOUND_PAN_ATTACKER
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_ATTACKER, 3, -16, 16, 0, 1
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, -16, 16, 0, 1
delay 6
playsewithpan SE_W120, SOUND_PAN_ATTACKER
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_ATTACKER, 3, -24, -12, 0, 1
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, -24, -12, 0, 1
delay 6
playsewithpan SE_W120, SOUND_PAN_ATTACKER
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_ATTACKER, 3, 16, 16, 0, 1
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 16, 16, 0, 1
delay 6
return
@@ -5735,19 +5735,19 @@ Move_EXPLOSION:
end
Explosion1:
playsewithpan SE_W153, SOUND_PAN_ATTACKER
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_ATTACKER, 3, 0, 0, 0, 1
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 1
delay 6
playsewithpan SE_W153, SOUND_PAN_ATTACKER
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_ATTACKER, 3, 24, -24, 0, 1
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 24, -24, 0, 1
delay 6
playsewithpan SE_W153, SOUND_PAN_ATTACKER
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_ATTACKER, 3, -16, 16, 0, 1
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, -16, 16, 0, 1
delay 6
playsewithpan SE_W153, SOUND_PAN_ATTACKER
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_ATTACKER, 3, -24, -12, 0, 1
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, -24, -12, 0, 1
delay 6
playsewithpan SE_W153, SOUND_PAN_ATTACKER
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_ATTACKER, 3, 16, 16, 0, 1
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 16, 16, 0, 1
delay 6
return
@@ -5898,11 +5898,11 @@ Move_SAFEGUARD:
monbg ANIM_ATK_PARTNER
setalpha 8, 8
playsewithpan SE_W208, SOUND_PAN_ATTACKER
createsprite gUnknown_08593C64, ANIM_ATTACKER, 2
createsprite gGuardRingSpriteTemplate, ANIM_ATTACKER, 2
delay 4
createsprite gUnknown_08593C64, ANIM_ATTACKER, 2
createsprite gGuardRingSpriteTemplate, ANIM_ATTACKER, 2
delay 4
createsprite gUnknown_08593C64, ANIM_ATTACKER, 2
createsprite gGuardRingSpriteTemplate, ANIM_ATTACKER, 2
waitforvisualfinish
playsewithpan SE_REAPOKE, SOUND_PAN_ATTACKER
createvisualtask sub_8115A04, 2, 10, 0, 2, 0, 10, RGB_WHITE
@@ -5983,11 +5983,11 @@ Move_PAY_DAY:
monbgprio_28 ANIM_TARGET
setalpha 12, 8
playsewithpan SE_W013B, SOUND_PAN_ATTACKER
createsprite gUnknown_085934D8, ANIM_ATTACKER, 2, 20, 0, 0, 0, 1152
createsprite gCoinThrowSpriteTemplate, ANIM_ATTACKER, 2, 20, 0, 0, 0, 1152
waitforvisualfinish
playsewithpan SE_W006, SOUND_PAN_TARGET
createsprite gBasicHitSplatSpriteTemplate, ANIM_ATTACKER, 1, 0, 0, 1, 2
createsprite gUnknown_085934F0, ANIM_ATTACKER, 2
createsprite gFallingCoinSpriteTemplate, ANIM_ATTACKER, 2
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 1, 0, 6, 1
waitforvisualfinish
clearmonbg ANIM_TARGET
@@ -6090,26 +6090,26 @@ Move_ATTRACT:
loopsewithpan SE_W204, SOUND_PAN_ATTACKER, 12, 3
createvisualtask AnimTask_SwayMon, 5, 0, 12, 4096, 4, ANIM_ATTACKER
delay 15
createsprite gUnknown_085939A0, ANIM_TARGET, 3, 20, -8
createsprite gRedHeartProjectileSpriteTemplate, ANIM_TARGET, 3, 20, -8
waitforvisualfinish
playsewithpan SE_W213, SOUND_PAN_TARGET
createsprite gBattleAnimSpriteTemplate_85939B8, ANIM_TARGET, 3, 160, -32
createsprite gBattleAnimSpriteTemplate_85939B8, ANIM_TARGET, 3, -256, -40
createsprite gBattleAnimSpriteTemplate_85939B8, ANIM_TARGET, 3, 128, -16
createsprite gBattleAnimSpriteTemplate_85939B8, ANIM_TARGET, 3, 416, -38
createsprite gBattleAnimSpriteTemplate_85939B8, ANIM_TARGET, 3, -128, -22
createsprite gBattleAnimSpriteTemplate_85939B8, ANIM_TARGET, 3, -384, -31
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, 160, -32
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, -256, -40
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, 128, -16
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, 416, -38
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, -128, -22
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, -384, -31
waitforvisualfinish
waitplaysewithpan SE_W213B, 0, 15
createvisualtask AnimTask_HeartsBackground, 5
createsprite gUnknown_085939D0, ANIM_ATTACKER, 40, 16, 256, 0
createsprite gUnknown_085939D0, ANIM_ATTACKER, 40, 224, 240, 15
createsprite gUnknown_085939D0, ANIM_ATTACKER, 40, 126, 272, 30
createsprite gUnknown_085939D0, ANIM_ATTACKER, 40, 80, 224, 45
createsprite gUnknown_085939D0, ANIM_ATTACKER, 40, 170, 272, 60
createsprite gUnknown_085939D0, ANIM_ATTACKER, 40, 40, 256, 75
createsprite gUnknown_085939D0, ANIM_ATTACKER, 40, 112, 256, 90
createsprite gUnknown_085939D0, ANIM_ATTACKER, 40, 200, 272, 90
createsprite gRedHeartRisingSpriteTemplate, ANIM_ATTACKER, 40, 16, 256, 0
createsprite gRedHeartRisingSpriteTemplate, ANIM_ATTACKER, 40, 224, 240, 15
createsprite gRedHeartRisingSpriteTemplate, ANIM_ATTACKER, 40, 126, 272, 30
createsprite gRedHeartRisingSpriteTemplate, ANIM_ATTACKER, 40, 80, 224, 45
createsprite gRedHeartRisingSpriteTemplate, ANIM_ATTACKER, 40, 170, 272, 60
createsprite gRedHeartRisingSpriteTemplate, ANIM_ATTACKER, 40, 40, 256, 75
createsprite gRedHeartRisingSpriteTemplate, ANIM_ATTACKER, 40, 112, 256, 90
createsprite gRedHeartRisingSpriteTemplate, ANIM_ATTACKER, 40, 200, 272, 90
delay 75
createvisualtask sub_8115A04, 2, 4, 4, 4, 0, 10, RGB(31, 25, 27)
end
@@ -6629,8 +6629,8 @@ HornDrillInContest:
Move_THRASH:
loadspritegfx ANIM_TAG_IMPACT
loadspritegfx ANIM_TAG_HANDS_AND_FEET
createvisualtask sub_8104C38, 2
createvisualtask sub_8104CA4, 2
createvisualtask AnimTask_ThrashMoveMonHorizontal, 2
createvisualtask AnimTask_ThrashMoveMonVertical, 2
createsprite gUnknown_08595EB0, ANIM_TARGET, 3, 1, 10, 0
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 7, 1
playsewithpan SE_W004, SOUND_PAN_TARGET
@@ -6991,9 +6991,9 @@ Move_GLARE:
waitforvisualfinish
createvisualtask sub_8116620, 5, 1, 0, 0, 16, RGB_BLACK
waitforvisualfinish
createsprite gUnknown_08593A84, ANIM_ATTACKER, 0, -16, -8
createsprite gUnknown_08593A84, ANIM_ATTACKER, 0, 16, -8
createvisualtask sub_81064F8, 5
createsprite gEyeSparkleSpriteTemplate, ANIM_ATTACKER, 0, -16, -8
createsprite gEyeSparkleSpriteTemplate, ANIM_ATTACKER, 0, 16, -8
createvisualtask AnimTask_ScaryFace, 5
playsewithpan SE_W043, SOUND_PAN_ATTACKER
delay 2
createvisualtask sub_810A094, 3, 20, 1, 0
@@ -7145,8 +7145,8 @@ Move_STRUGGLE:
monbg ANIM_TARGET
setalpha 12, 8
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_ATTACKER, 3, 0, 12, 4
createsprite gUnknown_08593B80, ANIM_ATTACKER, 2, 0, 0, 2
createsprite gUnknown_08593B80, ANIM_ATTACKER, 2, 0, 1, 2
createsprite gMovementWavesSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 2
createsprite gMovementWavesSpriteTemplate, ANIM_ATTACKER, 2, 0, 1, 2
loopsewithpan SE_W029, SOUND_PAN_ATTACKER, 12, 4
waitforvisualfinish
createsprite gBasicHitSplatSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 2
@@ -7161,7 +7161,7 @@ Move_SKETCH:
loadspritegfx ANIM_TAG_PENCIL
monbg ANIM_TARGET
createvisualtask sub_8104E74, 2
createsprite gUnknown_085936D4, ANIM_TARGET, 2
createsprite gPencilSpriteTemplate, ANIM_TARGET, 2
waitforvisualfinish
clearmonbg ANIM_TARGET
createvisualtask AnimTask_Splash, 2, 0, 2
@@ -7412,7 +7412,7 @@ Move_MILK_DRINK:
delay 20
playsewithpan SE_W152, SOUND_PAN_ATTACKER
waitforvisualfinish
createsprite gUnknown_0859381C, ANIM_ATTACKER, 3, 0, 0, 1, 0
createsprite gThinRingExpandingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 0
playsewithpan SE_W208, SOUND_PAN_ATTACKER
waitforvisualfinish
clearmonbg ANIM_TARGET
@@ -7492,15 +7492,15 @@ Move_EXTREME_SPEED:
loadspritegfx ANIM_TAG_SPEED_DUST
loadspritegfx ANIM_TAG_IMPACT
call SetHighSpeedBg
createvisualtask sub_810577C, 2
createvisualtask AnimTask_StretchAttacker, 2
loopsewithpan SE_W013B, SOUND_PAN_ATTACKER, 8, 3
waitforvisualfinish
delay 1
createvisualtask sub_8117F60, 2
createvisualtask AnimTask_ExtremeSpeedMoveTarget, 2
monbg ANIM_TARGET
setalpha 12, 8
delay 18
createvisualtask sub_8105810, 2
createvisualtask AnimTask_ExtremeSpeedImpact, 2
delay 2
playsewithpan SE_W004, SOUND_PAN_TARGET
createsprite gBattleAnimSpriteTemplate_85973B8, ANIM_TARGET, 2, 1, 0, -12, 3
@@ -7511,9 +7511,9 @@ Move_EXTREME_SPEED:
playsewithpan SE_W233B, SOUND_PAN_TARGET
createsprite gBattleAnimSpriteTemplate_85973B8, ANIM_TARGET, 2, 1, 0, 0, 3
waitforvisualfinish
createvisualtask sub_8105AAC, 2
createvisualtask AnimTask_SpeedDust, 2
delay 10
createvisualtask sub_810599C, 2
createvisualtask AnimTask_ExtremeSpeedMonReappear, 2
loopsewithpan SE_W104, SOUND_PAN_ATTACKER, 8, 4
waitforvisualfinish
call UnsetHighSpeedBg
@@ -7528,23 +7528,23 @@ Move_UPROAR:
loadspritegfx ANIM_TAG_JAGGED_MUSIC_NOTE
loadspritegfx ANIM_TAG_THIN_RING
monbg ANIM_DEF_PARTNER
createvisualtask sub_8106D90, 2, 0
createsprite gBattleAnimSpriteTemplate_8593898, ANIM_ATTACKER, 3, 0, 0, 0, 0, 31, 8
createvisualtask AnimTask_UproarDistortion, 2, 0
createsprite gUproarRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, 31, 8
playsewithpan SE_W253, SOUND_PAN_ATTACKER
createsprite gBattleAnimSpriteTemplate_8593BB8, ANIM_ATTACKER, 2, 0, 29, -12, 0
createsprite gBattleAnimSpriteTemplate_8593BB8, ANIM_ATTACKER, 2, 0, -12, -29, 1
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, 29, -12, 0
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, -12, -29, 1
delay 16
createvisualtask sub_8106D90, 2, 0
createsprite gBattleAnimSpriteTemplate_8593898, ANIM_ATTACKER, 3, 0, 0, 0, 0, 31, 8
createvisualtask AnimTask_UproarDistortion, 2, 0
createsprite gUproarRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, 31, 8
playsewithpan SE_W253, SOUND_PAN_ATTACKER
createsprite gBattleAnimSpriteTemplate_8593BB8, ANIM_ATTACKER, 2, 0, 12, -29, 1
createsprite gBattleAnimSpriteTemplate_8593BB8, ANIM_ATTACKER, 2, 0, -29, -12, 0
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, 12, -29, 1
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, -29, -12, 0
delay 16
createvisualtask sub_8106D90, 2, 0
createsprite gBattleAnimSpriteTemplate_8593898, ANIM_ATTACKER, 3, 0, 0, 0, 0, 31, 8
createvisualtask AnimTask_UproarDistortion, 2, 0
createsprite gUproarRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, 31, 8
playsewithpan SE_W253, SOUND_PAN_ATTACKER
createsprite gBattleAnimSpriteTemplate_8593BB8, ANIM_ATTACKER, 2, 0, 24, -24, 1
createsprite gBattleAnimSpriteTemplate_8593BB8, ANIM_ATTACKER, 2, 0, -24, -24, 0
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, 24, -24, 1
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, -24, -24, 0
waitforvisualfinish
clearmonbg ANIM_DEF_PARTNER
end
@@ -8256,7 +8256,7 @@ Move_AROMATHERAPY:
waitforvisualfinish
playsewithpan SE_REAPOKE, SOUND_PAN_ATTACKER
createsprite gSimplePaletteBlendSpriteTemplate, ANIM_ATTACKER, 0, 43, 3, 10, 0, RGB(13, 31, 12)
createsprite gUnknown_08593868, ANIM_ATTACKER, 16, 0, 0, 0, 1
createsprite gBlendThinRingExpandingSpriteTemplate, ANIM_ATTACKER, 16, 0, 0, 0, 1
waitforvisualfinish
end
@@ -8291,7 +8291,7 @@ Move_AIR_CUTTER:
monbg ANIM_DEF_PARTNER
setalpha 12, 8
delay 0
createvisualtask sub_8103CF0, 2, 32, -24, 1536, 2, 128
createvisualtask AnimTask_AirCutterProjectile, 2, 32, -24, 1536, 2, 128
waitforvisualfinish
playsewithpan SE_W015, SOUND_PAN_TARGET
createsprite gAirCutterSliceSpriteTemplate, ANIM_ATTACKER, 2, 40, -32, 0, 2
@@ -8361,8 +8361,8 @@ Move_TICKLE:
loadspritegfx ANIM_TAG_EYE_SPARKLE
createsprite gSimplePaletteBlendSpriteTemplate, ANIM_ATTACKER, 2, 2, 0, 0, 16, RGB_BLACK
waitforvisualfinish
createsprite gUnknown_08593A84, ANIM_ATTACKER, 0, -16, -8
createsprite gUnknown_08593A84, ANIM_ATTACKER, 0, 16, -8
createsprite gEyeSparkleSpriteTemplate, ANIM_ATTACKER, 0, -16, -8
createsprite gEyeSparkleSpriteTemplate, ANIM_ATTACKER, 0, 16, -8
playsewithpan SE_W197, SOUND_PAN_ATTACKER
waitforvisualfinish
createsprite gSimplePaletteBlendSpriteTemplate, ANIM_ATTACKER, 2, 2, 0, 16, 0, RGB_BLACK
@@ -8568,13 +8568,13 @@ Move_CALM_MIND:
waitforvisualfinish
createvisualtask sub_81177E4, 5, 1
waitforvisualfinish
createsprite gUnknown_08593850, ANIM_ATTACKER, 40, 0, 0, 0, 0
createsprite gThinRingShrinkingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
playsewithpan SE_W048, SOUND_PAN_ATTACKER
delay 14
createsprite gUnknown_08593850, ANIM_ATTACKER, 40, 0, 0, 0, 0
createsprite gThinRingShrinkingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
playsewithpan SE_W048, SOUND_PAN_ATTACKER
delay 14
createsprite gUnknown_08593850, ANIM_ATTACKER, 40, 0, 0, 0, 0
createsprite gThinRingShrinkingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
playsewithpan SE_W048, SOUND_PAN_ATTACKER
waitforvisualfinish
createvisualtask sub_81177E4, 5, 0
@@ -9105,9 +9105,9 @@ Snore1:
createvisualtask AnimTask_ScaleMonAndRestore, 5, -7, -7, 7, ANIM_ATTACKER, 1
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 7, 1
createsprite gBattleAnimSpriteTemplate_85972D8, ANIM_ATTACKER, 2, 6, 1, 14, 0, 0
createsprite gUnknown_085936EC, ANIM_ATTACKER, 2, 0, 0, -42, -38, 24, 0, 0
createsprite gUnknown_085936EC, ANIM_ATTACKER, 2, 0, 0, 0, -42, 24, 0, 0
createsprite gUnknown_085936EC, ANIM_ATTACKER, 2, 0, 0, 42, -38, 24, 0, 0
createsprite gSnoreZSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, -42, -38, 24, 0, 0
createsprite gSnoreZSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 0, -42, 24, 0, 0
createsprite gSnoreZSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 42, -38, 24, 0, 0
return
Move_LIGHT_SCREEN:
@@ -9253,7 +9253,7 @@ Move_FAINT_ATTACK:
clearmonbg ANIM_ATTACKER
invisible ANIM_ATTACKER
delay 1
createvisualtask sub_8117F60, 2
createvisualtask AnimTask_ExtremeSpeedMoveTarget, 2
setalpha 12, 8
monbg ANIM_TARGET
delay 1
@@ -10663,19 +10663,19 @@ Move_DYNAMIC_PUNCH:
waitsound
playsewithpan SE_W120, SOUND_PAN_TARGET
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 5, 0, 28, 1
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_ATTACKER, 3, 0, 0, 1, 1
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 1
delay 6
playsewithpan SE_W120, SOUND_PAN_TARGET
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_ATTACKER, 3, 24, -24, 1, 1
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 24, -24, 1, 1
delay 6
playsewithpan SE_W120, SOUND_PAN_TARGET
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_ATTACKER, 3, -16, 16, 1, 1
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, -16, 16, 1, 1
delay 6
playsewithpan SE_W120, SOUND_PAN_TARGET
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_ATTACKER, 3, -24, -12, 1, 1
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, -24, -12, 1, 1
delay 6
playsewithpan SE_W120, SOUND_PAN_TARGET
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_ATTACKER, 3, 16, 16, 1, 1
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 16, 16, 1, 1
waitforvisualfinish
clearmonbg ANIM_DEF_PARTNER
blendoff
@@ -11403,22 +11403,22 @@ Move_EGG_BOMB:
loadspritegfx ANIM_TAG_EXPLOSION
loadspritegfx ANIM_TAG_LARGE_FRESH_EGG
playsewithpan SE_W039, SOUND_PAN_ATTACKER
createsprite gUnknown_08593488, ANIM_TARGET, 2, 10, 0, 0, 0, 25, -32
createsprite gEggThrowSpriteTemplate, ANIM_TARGET, 2, 10, 0, 0, 0, 25, -32
waitforvisualfinish
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 16, 1
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_TARGET, 4, 6, 5, 1, 0
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, 6, 5, 1, 0
playsewithpan SE_W120, SOUND_PAN_TARGET
delay 3
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_TARGET, 4, -16, -15, 1, 0
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, -16, -15, 1, 0
playsewithpan SE_W120, SOUND_PAN_TARGET
delay 3
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_TARGET, 4, 16, -5, 1, 0
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, 16, -5, 1, 0
playsewithpan SE_W120, SOUND_PAN_TARGET
delay 3
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_TARGET, 4, -12, 18, 1, 0
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, -12, 18, 1, 0
playsewithpan SE_W120, SOUND_PAN_TARGET
delay 3
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_TARGET, 4, 0, 5, 1, 0
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, 0, 5, 1, 0
playsewithpan SE_W120, SOUND_PAN_TARGET
delay 3
waitforvisualfinish
@@ -11760,15 +11760,15 @@ Move_SOFT_BOILED:
monbg ANIM_ATK_PARTNER
playsewithpan SE_W039, SOUND_PAN_ATTACKER
createvisualtask AnimTask_ShakeMon, 2, ANIM_ATTACKER, 0, 2, 6, 1
createsprite gUnknown_085937B0, ANIM_ATTACKER, 4, 0, 16, 0
createsprite gUnknown_085937B0, ANIM_ATTACKER, 4, 0, 16, 1
createsprite gSoftBoiledEggSpriteTemplate, ANIM_ATTACKER, 4, 0, 16, 0
createsprite gSoftBoiledEggSpriteTemplate, ANIM_ATTACKER, 4, 0, 16, 1
delay 120
delay 7
playsewithpan SE_W030, SOUND_PAN_ATTACKER
createsprite gSimplePaletteBlendSpriteTemplate, ANIM_ATTACKER, 2, 31, 3, 10, 0, RGB(12, 24, 30)
createsprite gUnknown_0859381C, ANIM_ATTACKER, 3, 31, 16, 0, 1
createsprite gThinRingExpandingSpriteTemplate, ANIM_ATTACKER, 3, 31, 16, 0, 1
delay 8
createsprite gUnknown_0859381C, ANIM_ATTACKER, 3, 31, 16, 0, 1
createsprite gThinRingExpandingSpriteTemplate, ANIM_ATTACKER, 3, 31, 16, 0, 1
delay 60
setarg 7, -1
waitforvisualfinish
@@ -11783,24 +11783,24 @@ Move_HEAL_BELL:
createvisualtask sub_8116620, 10, 10, 0, 0, 10, RGB_WHITE
waitforvisualfinish
createvisualtask sub_8105CB4, 5
createsprite gUnknown_08593938, ANIM_ATTACKER, 2, 0, -24, 0, 1
createsprite gBellSpriteTemplate, ANIM_ATTACKER, 2, 0, -24, 0, 1
delay 12
createsprite gUnknown_08593958, ANIM_ATTACKER, 40, 0, -24, 48, -18, 35, 0, 0
createsprite gUnknown_08593958, ANIM_ATTACKER, 40, 0, -24, -48, 20, 30, 1, 1
createsprite gUnknown_08593958, ANIM_ATTACKER, 40, 0, -24, -38, -29, 30, 2, 2
createsprite gUnknown_08593958, ANIM_ATTACKER, 40, 0, -24, 36, 18, 30, 3, 3
createsprite gHealBellMusicNoteSpriteTemplate, ANIM_ATTACKER, 40, 0, -24, 48, -18, 35, 0, 0
createsprite gHealBellMusicNoteSpriteTemplate, ANIM_ATTACKER, 40, 0, -24, -48, 20, 30, 1, 1
createsprite gHealBellMusicNoteSpriteTemplate, ANIM_ATTACKER, 40, 0, -24, -38, -29, 30, 2, 2
createsprite gHealBellMusicNoteSpriteTemplate, ANIM_ATTACKER, 40, 0, -24, 36, 18, 30, 3, 3
call HealBell1
delay 0x21
createsprite gUnknown_08593958, ANIM_ATTACKER, 40, 0, -24, 19, 26, 35, 4, 4
createsprite gUnknown_08593958, ANIM_ATTACKER, 40, 0, -24, -34, -12, 30, 5, 5
createsprite gUnknown_08593958, ANIM_ATTACKER, 40, 0, -24, 41, -20, 34, 6, 2
createsprite gUnknown_08593958, ANIM_ATTACKER, 40, 0, -24, -15, 26, 32, 7, 0
createsprite gHealBellMusicNoteSpriteTemplate, ANIM_ATTACKER, 40, 0, -24, 19, 26, 35, 4, 4
createsprite gHealBellMusicNoteSpriteTemplate, ANIM_ATTACKER, 40, 0, -24, -34, -12, 30, 5, 5
createsprite gHealBellMusicNoteSpriteTemplate, ANIM_ATTACKER, 40, 0, -24, 41, -20, 34, 6, 2
createsprite gHealBellMusicNoteSpriteTemplate, ANIM_ATTACKER, 40, 0, -24, -15, 26, 32, 7, 0
call HealBell1
delay 0x21
createsprite gUnknown_08593958, ANIM_ATTACKER, 40, 0, -24, -48, 18, 31, 0, 2
createsprite gUnknown_08593958, ANIM_ATTACKER, 40, 0, -24, 48, -20, 30, 2, 5
createsprite gUnknown_08593958, ANIM_ATTACKER, 40, 0, -24, 38, 29, 33, 4, 3
createsprite gUnknown_08593958, ANIM_ATTACKER, 40, 0, -24, -36, -18, 30, 6, 1
createsprite gHealBellMusicNoteSpriteTemplate, ANIM_ATTACKER, 40, 0, -24, -48, 18, 31, 0, 2
createsprite gHealBellMusicNoteSpriteTemplate, ANIM_ATTACKER, 40, 0, -24, 48, -20, 30, 2, 5
createsprite gHealBellMusicNoteSpriteTemplate, ANIM_ATTACKER, 40, 0, -24, 38, 29, 33, 4, 3
createsprite gHealBellMusicNoteSpriteTemplate, ANIM_ATTACKER, 40, 0, -24, -36, -18, 30, 6, 1
call HealBell1
waitforvisualfinish
createvisualtask sub_8105D60, 5
@@ -11819,18 +11819,18 @@ Move_HEAL_BELL:
playsewithpan SE_REAPOKE, SOUND_PAN_ATTACKER
createvisualtask sub_8116664, 10, 4, 3, 10, 0, RGB(12, 24, 30)
createvisualtask sub_8116620, 10, 10, 3, 10, 0, RGB_WHITE
createsprite gUnknown_08593868, ANIM_ATTACKER, 16, 0, 0, 0, 1
createsprite gBlendThinRingExpandingSpriteTemplate, ANIM_ATTACKER, 16, 0, 0, 0, 1
end
HealBell1:
createvisualtask sub_8116664, 10, 4, 3, 8, 0, RGB(12, 24, 30)
createvisualtask sub_8116620, 10, 10, 3, 2, 10, RGB_WHITE
createsprite gUnknown_0859381C, ANIM_ATTACKER, 40, 0, -24, 0, 1
createsprite gThinRingExpandingSpriteTemplate, ANIM_ATTACKER, 40, 0, -24, 0, 1
playsewithpan SE_W215, SOUND_PAN_ATTACKER
return
Move_FAKE_OUT:
playsewithpan SE_W260, 0
createvisualtask sub_8105EB0, 5
createvisualtask AnimTask_FakeOut, 5
waitforvisualfinish
playsewithpan SE_W166, SOUND_PAN_TARGET
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 5, 1
@@ -11846,10 +11846,10 @@ Move_SCARY_FACE:
waitforvisualfinish
delay 10
playsewithpan SE_W043, SOUND_PAN_ATTACKER
createvisualtask sub_81064F8, 5
createvisualtask AnimTask_ScaryFace, 5
delay 13
createsprite gUnknown_08593A84, ANIM_ATTACKER, 0, -16, -8
createsprite gUnknown_08593A84, ANIM_ATTACKER, 0, 16, -8
createsprite gEyeSparkleSpriteTemplate, ANIM_ATTACKER, 0, -16, -8
createsprite gEyeSparkleSpriteTemplate, ANIM_ATTACKER, 0, 16, -8
waitforvisualfinish
createvisualtask sub_810A094, 3, 20, 1, 0
playsewithpan SE_W081B, SOUND_PAN_TARGET
@@ -11860,33 +11860,33 @@ Move_SCARY_FACE:
Move_SWEET_KISS:
loadspritegfx ANIM_TAG_RED_HEART
loadspritegfx ANIM_TAG_ANGEL
createsprite gUnknown_08593AA8, ANIM_TARGET, 2, 16, -48
createsprite gAngelSpriteTemplate, ANIM_TARGET, 2, 16, -48
playsewithpan SE_W215, SOUND_PAN_TARGET
delay 23
playsewithpan SE_W215, SOUND_PAN_TARGET
delay 23
playsewithpan SE_W215, SOUND_PAN_TARGET
waitforvisualfinish
createsprite gBattleAnimSpriteTemplate_85939B8, ANIM_TARGET, 3, 160, -30
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, 160, -30
playsewithpan SE_W213, SOUND_PAN_TARGET
createsprite gBattleAnimSpriteTemplate_85939B8, ANIM_TARGET, 3, -256, -42
createsprite gBattleAnimSpriteTemplate_85939B8, ANIM_TARGET, 3, 128, -14
createsprite gBattleAnimSpriteTemplate_85939B8, ANIM_TARGET, 3, 416, -38
createsprite gBattleAnimSpriteTemplate_85939B8, ANIM_TARGET, 3, -128, -22
createsprite gBattleAnimSpriteTemplate_85939B8, ANIM_TARGET, 3, -384, -31
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, -256, -42
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, 128, -14
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, 416, -38
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, -128, -22
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, -384, -31
end
Move_LOVELY_KISS:
loadspritegfx ANIM_TAG_PINK_HEART
loadspritegfx ANIM_TAG_DEVIL
createsprite gUnknown_08593AF0, ANIM_TARGET, 2, 0, -24
createsprite gDevilSpriteTemplate, ANIM_TARGET, 2, 0, -24
playsewithpan SE_W060B, SOUND_PAN_TARGET
waitforvisualfinish
playsewithpan SE_W213, SOUND_PAN_TARGET
createsprite gUnknown_08593AC0, ANIM_TARGET, 3, -256, -42
createsprite gUnknown_08593AC0, ANIM_TARGET, 3, 128, -14
createsprite gUnknown_08593AC0, ANIM_TARGET, 3, 416, -38
createsprite gUnknown_08593AC0, ANIM_TARGET, 3, -128, -22
createsprite gPinkHeartSpriteTemplate, ANIM_TARGET, 3, -256, -42
createsprite gPinkHeartSpriteTemplate, ANIM_TARGET, 3, 128, -14
createsprite gPinkHeartSpriteTemplate, ANIM_TARGET, 3, 416, -38
createsprite gPinkHeartSpriteTemplate, ANIM_TARGET, 3, -128, -22
end
Move_FURY_SWIPES:
@@ -11894,13 +11894,13 @@ Move_FURY_SWIPES:
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 5, 5
delay 4
playsewithpan SE_W010, SOUND_PAN_TARGET
createsprite gUnknown_08593B38, ANIM_TARGET, 2, 16, 0, 1
createsprite gFurySwipesSpriteTemplate, ANIM_TARGET, 2, 16, 0, 1
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 3, 0, 5, 1
delay 10
createsprite gHorizontalLungeSpriteTemplate, ANIM_TARGET, 2, 5, 5
delay 4
playsewithpan SE_W010, SOUND_PAN_TARGET
createsprite gUnknown_08593B38, ANIM_TARGET, 2, -16, 0, 0
createsprite gFurySwipesSpriteTemplate, ANIM_TARGET, 2, -16, 0, 0
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 7, 1
end
@@ -11953,19 +11953,19 @@ Move_PRESENT:
PresentDamage:
loadspritegfx ANIM_TAG_EXPLOSION
playsewithpan SE_W120, SOUND_PAN_TARGET
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_TARGET, 3, 0, 0, 1, 1
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 0, 0, 1, 1
delay 6
playsewithpan SE_W120, SOUND_PAN_TARGET
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_TARGET, 3, 24, -24, 1, 1
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 24, -24, 1, 1
delay 6
playsewithpan SE_W120, SOUND_PAN_TARGET
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_TARGET, 3, -16, 16, 1, 1
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, -16, 16, 1, 1
delay 6
playsewithpan SE_W120, SOUND_PAN_TARGET
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_TARGET, 3, -24, -12, 1, 1
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, -24, -12, 1, 1
delay 6
playsewithpan SE_W120, SOUND_PAN_TARGET
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_TARGET, 3, 16, 16, 1, 1
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 16, 16, 1, 1
end
PresentHeal:
@@ -12003,23 +12003,23 @@ Move_BATON_PASS:
Move_PERISH_SONG:
loadspritegfx ANIM_TAG_MUSIC_NOTES_2
createsprite gUnknown_08593C0C, ANIM_ATTACKER, 4, 0, 0, 0
createsprite gUnknown_08593C0C, ANIM_ATTACKER, 4, 1, 1, 16
createsprite gUnknown_08593C0C, ANIM_ATTACKER, 4, 2, 1, 32
createsprite gUnknown_08593C0C, ANIM_ATTACKER, 4, 3, 2, 48
createsprite gUnknown_08593C0C, ANIM_ATTACKER, 4, 4, 2, 64
createsprite gUnknown_08593C0C, ANIM_ATTACKER, 4, 5, 0, 80
createsprite gUnknown_08593C0C, ANIM_ATTACKER, 4, 6, 0, 96
createsprite gUnknown_08593C0C, ANIM_ATTACKER, 4, 7, 1, 112
createsprite gUnknown_08593C0C, ANIM_ATTACKER, 4, 8, 2, 128
createsprite gUnknown_08593C0C, ANIM_ATTACKER, 4, 9, 0, 144
createsprite gUnknown_08593C0C, ANIM_ATTACKER, 4, 10, 2, 160
createsprite gUnknown_08593C0C, ANIM_ATTACKER, 4, 11, 0, 176
createsprite gUnknown_08593C0C, ANIM_ATTACKER, 4, 12, 1, 192
createsprite gUnknown_08593C0C, ANIM_ATTACKER, 4, 13, 3, 208
createsprite gUnknown_08593C0C, ANIM_ATTACKER, 4, 14, 3, 224
createsprite gUnknown_08593C0C, ANIM_ATTACKER, 4, 15, 0, 240
createsprite gUnknown_08593C24, ANIM_ATTACKER, 4, 15, 0, 0
createsprite gPerishSongMusicNoteSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 0
createsprite gPerishSongMusicNoteSpriteTemplate, ANIM_ATTACKER, 4, 1, 1, 16
createsprite gPerishSongMusicNoteSpriteTemplate, ANIM_ATTACKER, 4, 2, 1, 32
createsprite gPerishSongMusicNoteSpriteTemplate, ANIM_ATTACKER, 4, 3, 2, 48
createsprite gPerishSongMusicNoteSpriteTemplate, ANIM_ATTACKER, 4, 4, 2, 64
createsprite gPerishSongMusicNoteSpriteTemplate, ANIM_ATTACKER, 4, 5, 0, 80
createsprite gPerishSongMusicNoteSpriteTemplate, ANIM_ATTACKER, 4, 6, 0, 96
createsprite gPerishSongMusicNoteSpriteTemplate, ANIM_ATTACKER, 4, 7, 1, 112
createsprite gPerishSongMusicNoteSpriteTemplate, ANIM_ATTACKER, 4, 8, 2, 128
createsprite gPerishSongMusicNoteSpriteTemplate, ANIM_ATTACKER, 4, 9, 0, 144
createsprite gPerishSongMusicNoteSpriteTemplate, ANIM_ATTACKER, 4, 10, 2, 160
createsprite gPerishSongMusicNoteSpriteTemplate, ANIM_ATTACKER, 4, 11, 0, 176
createsprite gPerishSongMusicNoteSpriteTemplate, ANIM_ATTACKER, 4, 12, 1, 192
createsprite gPerishSongMusicNoteSpriteTemplate, ANIM_ATTACKER, 4, 13, 3, 208
createsprite gPerishSongMusicNoteSpriteTemplate, ANIM_ATTACKER, 4, 14, 3, 224
createsprite gPerishSongMusicNoteSpriteTemplate, ANIM_ATTACKER, 4, 15, 0, 240
createsprite gPerishSongMusicNote2SpriteTemplate, ANIM_ATTACKER, 4, 15, 0, 0
delay 20
panse_1B SE_W195, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
delay 80
@@ -12277,14 +12277,14 @@ Move_SPIT_UP:
delay 45
playsewithpan SE_W255, SOUND_PAN_ATTACKER
delay 3
createsprite gUnknown_08593A50, ANIM_ATTACKER, 2, 0, 12
createsprite gUnknown_08593A50, ANIM_ATTACKER, 2, 32, 12
createsprite gUnknown_08593A50, ANIM_ATTACKER, 2, 64, 12
createsprite gUnknown_08593A50, ANIM_ATTACKER, 2, 96, 12
createsprite gUnknown_08593A50, ANIM_ATTACKER, 2, 128, 12
createsprite gUnknown_08593A50, ANIM_ATTACKER, 2, 160, 12
createsprite gUnknown_08593A50, ANIM_ATTACKER, 2, 192, 12
createsprite gUnknown_08593A50, ANIM_ATTACKER, 2, 224, 12
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 0, 12
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 32, 12
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 64, 12
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 96, 12
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 128, 12
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 160, 12
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 192, 12
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 224, 12
delay 5
jumpifmoveturn 2, SpitUpStrong
jumpifmoveturn 3, SpitUpStrongest
@@ -12299,20 +12299,20 @@ SpitUpContinue:
waitforvisualfinish
end
SpitUpStrong:
createsprite gUnknown_08593A50, ANIM_ATTACKER, 2, 16
createsprite gUnknown_08593A50, ANIM_ATTACKER, 2, 80
createsprite gUnknown_08593A50, ANIM_ATTACKER, 2, 144
createsprite gUnknown_08593A50, ANIM_ATTACKER, 2, 208
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 16
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 80
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 144
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 208
goto SpitUpContinue
SpitUpStrongest:
createsprite gUnknown_08593A50, ANIM_ATTACKER, 2, 16
createsprite gUnknown_08593A50, ANIM_ATTACKER, 2, 48
createsprite gUnknown_08593A50, ANIM_ATTACKER, 2, 80
createsprite gUnknown_08593A50, ANIM_ATTACKER, 2, 112
createsprite gUnknown_08593A50, ANIM_ATTACKER, 2, 144
createsprite gUnknown_08593A50, ANIM_ATTACKER, 2, 176
createsprite gUnknown_08593A50, ANIM_ATTACKER, 2, 208
createsprite gUnknown_08593A50, ANIM_ATTACKER, 2, 240
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 16
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 48
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 80
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 112
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 144
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 176
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 208
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 240
goto SpitUpContinue
Move_SWALLOW:
@@ -12551,7 +12551,7 @@ Move_REFRESH:
waitforvisualfinish
playsewithpan SE_REAPOKE, SOUND_PAN_ATTACKER
createsprite gSimplePaletteBlendSpriteTemplate, ANIM_ATTACKER, 2, 31, 3, 10, 0, RGB(12, 24, 30)
createsprite gUnknown_0859381C, ANIM_ATTACKER, 3, 0, 0, 0, 0
createsprite gThinRingExpandingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0
end
Move_BLAZE_KICK:
@@ -12588,7 +12588,7 @@ Move_HYPER_VOICE:
HyperVoiceEffect:
createsprite gSimplePaletteBlendSpriteTemplate, ANIM_ATTACKER, 2, 31, 3, 8, 0, RGB_YELLOW
createvisualtask AnimTask_ScaleMonAndRestore, 5, -5, -5, 5, ANIM_ATTACKER, 0
createsprite gUnknown_08593880, ANIM_ATTACKER, 0, 45, 0, 0, 0, 0, 0, 1
createsprite gHyperVoiceRingSpriteTemplate, ANIM_ATTACKER, 0, 45, 0, 0, 0, 0, 0, 1
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 1, 0, 6, 1
createvisualtask AnimTask_ShakeMon2, 2, ANIM_DEF_PARTNER, 1, 0, 6, 1
createvisualtask sub_81162A4, 2, 1, 0, 6, 1
@@ -12676,26 +12676,26 @@ Move_MUDDY_WATER:
Move_BULLET_SEED:
loadspritegfx ANIM_TAG_SEED
createsprite gUnknown_0859351C, ANIM_TARGET, 2, 20, 0
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
delay 5
createsprite gUnknown_0859351C, ANIM_TARGET, 2, 20, 0
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
delay 5
createsprite gUnknown_0859351C, ANIM_TARGET, 2, 20, 0
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
delay 5
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 30, 1
createsprite gUnknown_0859351C, ANIM_TARGET, 2, 20, 0
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
delay 5
createsprite gUnknown_0859351C, ANIM_TARGET, 2, 20, 0
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
delay 5
createsprite gUnknown_0859351C, ANIM_TARGET, 2, 20, 0
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
delay 5
createsprite gUnknown_0859351C, ANIM_TARGET, 2, 20, 0
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
delay 5
createsprite gUnknown_0859351C, ANIM_TARGET, 2, 20, 0
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
delay 5
createsprite gUnknown_0859351C, ANIM_TARGET, 2, 20, 0
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
delay 5
createsprite gUnknown_0859351C, ANIM_TARGET, 2, 20, 0
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
waitforvisualfinish
end
@@ -12941,7 +12941,7 @@ Move_METAL_SOUND:
end
MetalSound1:
panse_1B SE_W103, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
createsprite gUnknown_08593458, ANIM_TARGET, 2, 16, 0, 0, 0, 30, 0
createsprite gMetalSoundSpriteTemplate, ANIM_TARGET, 2, 16, 0, 0, 0, 30, 0
delay 2
return
@@ -13594,13 +13594,13 @@ Move_WATER_PULSE:
playsewithpan SE_W145C, SOUND_PAN_TARGET
waitforvisualfinish
playsewithpan SE_W202, SOUND_PAN_ATTACKER
createsprite gUnknown_08593470, ANIM_TARGET, 2, 0, 0, 40, 15
createsprite gWaterPulseRingSpriteTemplate, ANIM_TARGET, 2, 0, 0, 40, 15
delay 5
playsewithpan SE_W202, SOUND_PAN_ATTACKER
createsprite gUnknown_08593470, ANIM_TARGET, 2, 0, 0, 40, 15
createsprite gWaterPulseRingSpriteTemplate, ANIM_TARGET, 2, 0, 0, 40, 15
delay 5
playsewithpan SE_W202, SOUND_PAN_ATTACKER
createsprite gUnknown_08593470, ANIM_TARGET, 2, 0, 0, 40, 15
createsprite gWaterPulseRingSpriteTemplate, ANIM_TARGET, 2, 0, 0, 40, 15
delay 13
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 8, 18, 1
waitforvisualfinish
@@ -14534,7 +14534,7 @@ General_ItemEffect:
waitforvisualfinish
playsewithpan SE_REAPOKE, SOUND_PAN_ATTACKER
createsprite gSimplePaletteBlendSpriteTemplate, ANIM_ATTACKER, 2, 2, 3, 7, 0, RGB(17, 31, 25)
createsprite gUnknown_0859381C, ANIM_ATTACKER, 3, 0, 0, 0, 0
createsprite gThinRingExpandingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0
waitforvisualfinish
end
@@ -14693,19 +14693,19 @@ General_DoomDesireHit:
delay 25
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 10, 0, 20, 1
playsewithpan SE_W120, SOUND_PAN_TARGET
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_ATTACKER, 3, 0, 0, 1, 1
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 1
delay 6
playsewithpan SE_W120, SOUND_PAN_TARGET
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_ATTACKER, 3, 24, -24, 1, 1
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 24, -24, 1, 1
delay 6
playsewithpan SE_W120, SOUND_PAN_TARGET
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_ATTACKER, 3, -16, 16, 1, 1
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, -16, 16, 1, 1
delay 6
playsewithpan SE_W120, SOUND_PAN_TARGET
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_ATTACKER, 3, -24, -12, 1, 1
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, -24, -12, 1, 1
delay 6
playsewithpan SE_W120, SOUND_PAN_TARGET
createsprite gBattleAnimSpriteTemplate_859371C, ANIM_ATTACKER, 3, 16, 16, 1, 1
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 16, 16, 1, 1
waitforvisualfinish
createsprite gSimplePaletteBlendSpriteTemplate, ANIM_ATTACKER, 2, 1, 3, 16, 0, RGB_WHITE
waitforvisualfinish

View File

@@ -4733,7 +4733,7 @@ BattleScript_FaintedMonTryChooseAnother::
switchhandleorder BS_ATTACKER, 0x2
jumpifbyte CMP_EQUAL, gBattleCommunication, 0x6, BattleScript_FaintedMonChooseAnother
atknameinbuff1
resetintrimidatetracebits BS_ATTACKER
resetintimidatetracebits BS_ATTACKER
hpthresholds2 BS_ATTACKER
printstring STRINGID_RETURNMON
switchoutabilities BS_ATTACKER

View File

@@ -25,6 +25,7 @@
#include "constants/lilycove_lady.h"
#include "constants/map_scripts.h"
#include "constants/maps.h"
#include "constants/mauville_old_man.h"
#include "constants/metatile_labels.h"
#include "constants/moves.h"
#include "constants/party_menu.h"
@@ -174,8 +175,8 @@ gStdScripts_End:: @ 81DC2CC
.include "data/maps/FallarborTown_BattleTentBattleRoom/scripts.inc"
.include "data/maps/FallarborTown_PokemonCenter_1F/scripts.inc"
.include "data/maps/FallarborTown_PokemonCenter_2F/scripts.inc"
.include "data/maps/FallarborTown_House1/scripts.inc"
.include "data/maps/FallarborTown_House2/scripts.inc"
.include "data/maps/FallarborTown_CozmosHouse/scripts.inc"
.include "data/maps/FallarborTown_MoveRelearnersHouse/scripts.inc"
.include "data/maps/VerdanturfTown_BattleTentLobby/scripts.inc"
.include "data/maps/VerdanturfTown_BattleTentCorridor/scripts.inc"
.include "data/maps/VerdanturfTown_BattleTentBattleRoom/scripts.inc"
@@ -584,6 +585,7 @@ gStdScripts_End:: @ 81DC2CC
.include "data/maps/Route119_House/scripts.inc"
.include "data/maps/Route124_DivingTreasureHuntersHouse/scripts.inc"
@ Below could be split as std_msgbox.inc but autoclose straddles trainer_battle.inc
Std_MsgboxNPC: @ 8271315
lock
faceplayer
@@ -633,10 +635,6 @@ Common_EventScript_SaveGame:: @ 827134F
waitstate
return
EventScript_271354:: @ 8271354
cmdD8
cmdD9
.include "data/scripts/trainer_battle.inc"
Std_MsgboxAutoclose:: @ 8271494
@@ -648,6 +646,7 @@ Std_MsgboxAutoclose:: @ 8271494
.include "data/scripts/new_game.inc"
@ Below seems to be hall_of_fame.inc and briney.inc together?
EverGrandeCity_HallOfFame_EventScript_2717C1:: @ 82717C1
special sub_81AFDD0
setflag FLAG_IS_CHAMPION
@@ -713,13 +712,13 @@ EventScript_ResetMrBriney:: @ 8271862
compare VAR_BRINEY_LOCATION, 2
goto_if_eq EventScript_MoveMrBrineyToDewford
compare VAR_BRINEY_LOCATION, 3
goto_if_eq EventScript_MoveMrBrineyToRoute108
goto_if_eq EventScript_MoveMrBrineyToRoute109
end
EventScript_MoveMrBrineyToHouse:: @ 8271884
setflag FLAG_HIDE_MR_BRINEY_DEWFORD_TOWN
setflag FLAG_HIDE_MR_BRINEY_BOAT_DEWFORD_TOWN
setflag FLAG_HIDE_ROUTE_108_MR_BRINEY
setflag FLAG_HIDE_ROUTE_109_MR_BRINEY
setflag FLAG_HIDE_ROUTE_109_MR_BRINEY_BOAT
clearflag FLAG_HIDE_ROUTE_104_MR_BRINEY_BOAT
clearflag FLAG_HIDE_BRINEYS_HOUSE_MR_BRINEY
@@ -727,7 +726,7 @@ EventScript_MoveMrBrineyToHouse:: @ 8271884
end
EventScript_MoveMrBrineyToDewford:: @ 827189A
setflag FLAG_HIDE_ROUTE_108_MR_BRINEY
setflag FLAG_HIDE_ROUTE_109_MR_BRINEY
setflag FLAG_HIDE_ROUTE_109_MR_BRINEY_BOAT
setflag FLAG_HIDE_ROUTE_104_MR_BRINEY
setflag FLAG_HIDE_ROUTE_104_MR_BRINEY_BOAT
@@ -737,14 +736,14 @@ EventScript_MoveMrBrineyToDewford:: @ 827189A
clearflag FLAG_HIDE_MR_BRINEY_BOAT_DEWFORD_TOWN
end
EventScript_MoveMrBrineyToRoute108:: @ 82718B3
EventScript_MoveMrBrineyToRoute109:: @ 82718B3
setflag FLAG_HIDE_ROUTE_104_MR_BRINEY
setflag FLAG_HIDE_ROUTE_104_MR_BRINEY_BOAT
setflag FLAG_HIDE_BRINEYS_HOUSE_MR_BRINEY
setflag FLAG_HIDE_BRINEYS_HOUSE_PEEKO
setflag FLAG_HIDE_MR_BRINEY_DEWFORD_TOWN
setflag FLAG_HIDE_MR_BRINEY_BOAT_DEWFORD_TOWN
clearflag FLAG_HIDE_ROUTE_108_MR_BRINEY
clearflag FLAG_HIDE_ROUTE_109_MR_BRINEY
clearflag FLAG_HIDE_ROUTE_109_MR_BRINEY_BOAT
end
@@ -761,7 +760,7 @@ Common_EventScript_UpdateBrineyLocation:: @ 82718DE
goto_if_set FLAG_DEFEATED_PETALBURG_GYM, Common_EventScript_NopReturn
goto_if_unset FLAG_HIDE_ROUTE_104_MR_BRINEY_BOAT, EventScript_SetBrineyLocation_House
goto_if_unset FLAG_HIDE_MR_BRINEY_DEWFORD_TOWN, EventScript_SetBrineyLocation_Dewford
goto_if_unset FLAG_HIDE_ROUTE_108_MR_BRINEY, EventScript_SetBrineyLocation_Route108
goto_if_unset FLAG_HIDE_ROUTE_109_MR_BRINEY, EventScript_SetBrineyLocation_Route109
return
EventScript_SetBrineyLocation_House:: @ 827190C
@@ -772,246 +771,16 @@ EventScript_SetBrineyLocation_Dewford:: @ 8271912
setvar VAR_BRINEY_LOCATION, 2
return
EventScript_SetBrineyLocation_Route108:: @ 8271918
EventScript_SetBrineyLocation_Route109:: @ 8271918
setvar VAR_BRINEY_LOCATION, 3
return
.include "data/scripts/pkmn_center_nurse.inc"
Std_ObtainItem:: @ 8271AD3
giveitem VAR_0x8000, VAR_0x8001
copyvar VAR_0x8007, VAR_RESULT
call EventScript_271AE3
return
EventScript_271AE3:: @ 8271AE3
bufferitemnameplural 1, VAR_0x8000, VAR_0x8001
checkitemtype VAR_0x8000
call EventScript_BufferStdString
compare VAR_0x8007, 1
call_if_eq EventScript_271B95
compare VAR_0x8007, 0
call_if_eq EventScript_271BA9
return
EventScript_BufferStdString:: @ 8271B08
switch VAR_RESULT
case POCKET_ITEMS, EventScript_StdStringItem
case POCKET_KEY_ITEMS, EventScript_StdStringKeyItems
case POCKET_POKE_BALLS, EventScript_StdStringPokeballs
case POCKET_TM_HM, EventScript_StdStringTMHMS
case POCKET_BERRIES, EventScript_StdStringBerries
end
EventScript_StdStringItem:: @ 8271B45
bufferstdstring 2, STDSTRING_ITEMS
compare VAR_0x8007, 1
call_if_eq EventScript_PlayFanfare4
return
EventScript_StdStringKeyItems:: @ 8271B55
bufferstdstring 2, STDSTRING_KEYITEMS
compare VAR_0x8007, 1
call_if_eq EventScript_PlayFanfare4
return
EventScript_StdStringPokeballs:: @ 8271B65
bufferstdstring 2, STDSTRING_POKEBALLS
compare VAR_0x8007, 1
call_if_eq EventScript_PlayFanfare4
return
EventScript_StdStringTMHMS:: @ 8271B75
bufferstdstring 2, STDSTRING_TMHMS
compare VAR_0x8007, 1
call_if_eq EventScript_271BB3
return
EventScript_StdStringBerries:: @ 8271B85
bufferstdstring 2, STDSTRING_BERRIES
compare VAR_0x8007, 1
call_if_eq EventScript_PlayFanfare4
return
EventScript_271B95:: @ 8271B95
message gText_ObtainedTheItem
waitfanfare
msgbox gText_PutItemInPocket, MSGBOX_DEFAULT
setvar VAR_RESULT, 1
return
EventScript_271BA9:: @ 8271BA9
setvar VAR_RESULT, 0
return
EventScript_PlayFanfare4:: @ 8271BAF
playfanfare MUS_FANFA4
return
EventScript_271BB3:: @ 8271BB3
playfanfare MUS_ME_WAZA
return
Std_ObtainDecoration:: @ 8271BB7
givedecoration VAR_0x8000
copyvar VAR_0x8007, VAR_RESULT
call EventScript_271BC5
return
EventScript_271BC5:: @ 8271BC5
bufferdecorationname 1, VAR_0x8000
compare VAR_0x8007, 1
call_if_eq EventScript_271BE0
compare VAR_0x8007, 0
call_if_eq EventScript_271BF7
return
EventScript_271BE0:: @ 8271BE0
playfanfare MUS_FANFA4
message gText_ObtainedTheMon
waitfanfare
msgbox gText_TheMonWasTransferredToThePC, MSGBOX_DEFAULT
setvar VAR_RESULT, 1
return
EventScript_271BF7:: @ 8271BF7
setvar VAR_RESULT, 0
return
Std_FindItem:: @ 8271BFD
lock
faceplayer
waitse
copyvar VAR_0x8004, VAR_0x8000
copyvar VAR_0x8005, VAR_0x8001
checkitemspace VAR_0x8000, VAR_0x8001
copyvar VAR_0x8007, VAR_RESULT
bufferitemnameplural 1, VAR_0x8000, VAR_0x8001
checkitemtype VAR_0x8000
call EventScript_BufferStdString
compare VAR_0x8007, 1
call_if_eq EventScript_PickItemUp
compare VAR_0x8007, 0
call_if_eq EventScript_271CA1
release
return
EventScript_PickItemUp:: @ 8271C3A
removeobject VAR_LAST_TALKED
giveitem VAR_0x8004, VAR_0x8005
specialvar VAR_RESULT, BufferTMHMMoveName
copyvar VAR_0x8008, VAR_RESULT
compare VAR_0x8008, 1
call_if_eq EventScript_271C8F
compare VAR_0x8008, 0
call_if_eq EventScript_271C9B
waitfanfare
waitmessage
bufferitemnameplural 1, VAR_0x8004, VAR_0x8005
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_IS_IN
special CallBattlePyramidFunction
compare VAR_RESULT, 1
goto_if_eq EventScript_271C86
msgbox gText_PutItemInPocket, MSGBOX_DEFAULT
return
EventScript_271C86:: @ 8271C86
msgbox gText_PlayerPutItemInBag, MSGBOX_DEFAULT
return
EventScript_271C8F:: @ 8271C8F
bufferitemnameplural 0, VAR_0x8004, VAR_0x8005
message gText_PlayerFoundOneItemTwoLines
return
EventScript_271C9B:: @ 8271C9B
message gText_PlayerFoundOneItem
return
EventScript_271CA1:: @ 8271CA1
msgbox gText_ObtainedTheItem, MSGBOX_DEFAULT
msgbox gText_TooBadBagIsFull, MSGBOX_DEFAULT
setvar VAR_RESULT, 0
return
EventScript_HiddenItemScript:: @ 8271CB7
lockall
waitse
giveitem VAR_0x8005, 1
copyvar VAR_0x8007, VAR_RESULT
bufferitemnameplural 1, VAR_0x8005, 1
checkitemtype VAR_0x8005
call EventScript_BufferStdString
compare VAR_0x8007, 1
goto_if_eq EventScript_271CE8
compare VAR_0x8007, 0
goto_if_eq EventScript_271D47
end
EventScript_271CE8:: @ 8271CE8
copyvar VAR_0x8008, VAR_0x8004
copyvar VAR_0x8004, VAR_0x8005
specialvar VAR_RESULT, BufferTMHMMoveName
compare VAR_RESULT, 1
goto_if_eq EventScript_271D0E
compare VAR_RESULT, 0
goto_if_eq EventScript_271D1F
end
EventScript_271D0E:: @ 8271D0E
bufferitemnameplural 0, VAR_0x8004, 1
message gText_PlayerFoundOneItemTwoLines
goto EventScript_271D2A
end
EventScript_271D1F:: @ 8271D1F
message gText_PlayerFoundOneItem
goto EventScript_271D2A
end
EventScript_271D2A:: @ 8271D2A
waitmessage
waitfanfare
bufferitemnameplural 1, VAR_0x8004, 1
copyvar VAR_0x8004, VAR_0x8008
msgbox gText_PutItemInPocket, MSGBOX_DEFAULT
special sub_80EDCE8
special SetFlagInVar
releaseall
end
EventScript_271D47:: @ 8271D47
msgbox gText_PlayerFoundOneItem, MSGBOX_DEFAULT
msgbox gText_TooBadBagIsFull, MSGBOX_DEFAULT
setvar VAR_RESULT, 0
releaseall
end
EventScript_271D5E:: @ 8271D5E
lock
faceplayer
msgbox Text_WouldYouLikeToMixRecords, MSGBOX_YESNO
compare VAR_RESULT, 1
goto_if_eq EventScript_271D83
compare VAR_RESULT, 0
goto_if_eq EventScript_271D89
goto EventScript_271D89
EventScript_271D83:: @ 8271D83
special RecordMixingPlayerSpotTriggered
waitstate
lock
faceplayer
EventScript_271D89:: @ 8271D89
message Text_WouldNotLikeToMixRecords
waitmessage
waitbuttonpress
release
end
.include "data/scripts/obtain_item.inc"
.include "data/scripts/record_mix.inc"
.include "data/scripts/pc.inc"
@ scripts/notices.inc? signs.inc? See comment about text/notices.inc
Common_EventScript_ShowPokemartSign:: @ 8271E6A
msgbox gText_PokemartSign, MSGBOX_SIGN
end
@@ -1038,173 +807,14 @@ DewfordTown_Hall_EventScript_271E8B:: @ 8271E8B
special BufferTrendyPhraseString
return
DewfordTown_EventScript_271E95:: @ 8271E95
Route104_MrBrineysHouse_EventScript_271E95:: @ 8271E95
Route109_EventScript_271E95:: @ 8271E95
EventScript_BackupMrBrineyLocation:: @ 8271E95
copyvar VAR_0x8008, VAR_BRINEY_LOCATION
setvar VAR_BRINEY_LOCATION, 0
return
EventScript_UseSurf:: @ 8271EA0
checkpartymove MOVE_SURF
compare VAR_RESULT, 6
goto_if_eq EventScript_CantSurf
bufferpartymonnick 0, VAR_RESULT
setfieldeffectargument 0, VAR_RESULT
lockall
msgbox gText_WantToUseSurf, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_if_eq EventScript_CancelSurf
msgbox gText_PlayerUsedSurf, MSGBOX_DEFAULT
dofieldeffect FLDEFF_USE_SURF
EventScript_CancelSurf:: @ 8271ED5
releaseall
EventScript_CantSurf:: @ 8271ED6
end
Common_EventScript_SetupRivalGfxId:: @ 8271ED7
checkplayergender
compare VAR_RESULT, MALE
goto_if_eq EventScript_SetupRivalGfxIdFemale
compare VAR_RESULT, FEMALE
goto_if_eq EventScript_SetupRivalGfxIdMale
end
EventScript_SetupRivalGfxIdFemale:: @ 8271EEF
setvar VAR_OBJ_GFX_ID_0, EVENT_OBJ_GFX_RIVAL_MAY_NORMAL
return
EventScript_SetupRivalGfxIdMale:: @ 8271EF5
setvar VAR_OBJ_GFX_ID_0, EVENT_OBJ_GFX_RIVAL_BRENDAN_NORMAL
return
Common_EventScript_SetupRivalOnBikeGfxId:: @ 8271EFB
checkplayergender
compare VAR_RESULT, MALE
goto_if_eq EventScript_SetupRivalOnBikeGfxIdFemale
compare VAR_RESULT, FEMALE
goto_if_eq EventScript_SetupRivalOnBikeGfxIdMale
end
EventScript_SetupRivalOnBikeGfxIdFemale:: @ 8271F13
setvar VAR_OBJ_GFX_ID_3, EVENT_OBJ_GFX_RIVAL_MAY_MACH_BIKE
return
EventScript_SetupRivalOnBikeGfxIdMale:: @ 8271F19
setvar VAR_OBJ_GFX_ID_3, EVENT_OBJ_GFX_RIVAL_BRENDAN_MACH_BIKE
return
@ Unused
Common_EventScript_SetupRivalGfxIdSameGender:: @ 8271F1F
checkplayergender
compare VAR_RESULT, MALE
goto_if_eq EventScript_SetupRivalGfxIdMale2
compare VAR_RESULT, FEMALE
goto_if_eq EventScript_SetupRivalGfxIdFemale2
end
EventScript_SetupRivalGfxIdMale2:: @ 8271F37
setvar VAR_OBJ_GFX_ID_0, EVENT_OBJ_GFX_RIVAL_BRENDAN_NORMAL
return
EventScript_SetupRivalGfxIdFemale2:: @ 8271F3D
setvar VAR_OBJ_GFX_ID_0, EVENT_OBJ_GFX_RIVAL_MAY_NORMAL
return
Common_EventScript_SetGymTrainers:: @ 8271F43
switch VAR_0x8008
case 1, RusboroCity_Gym_SetGymTrainers
case 2, DewfordTown_Gym_SetGymTrainers
case 3, MauvilleCity_Gym_SetGymTrainers
case 4, LavaridgeTown_Gym_SetGymTrainers
case 5, PetalburgCity_Gym_SetGymTrainers
case 6, FortreeCity_Gym_SetGymTrainers
case 7, MossdeepCity_Gym_SetGymTrainers
case 8, SootopolisCity_Gym_SetGymTrainers
end
RusboroCity_Gym_SetGymTrainers:: @ 8271FA1
settrainerflag TRAINER_JOSH
settrainerflag TRAINER_TOMMY
settrainerflag TRAINER_MARC
return
DewfordTown_Gym_SetGymTrainers:: @ 8271FAB
settrainerflag TRAINER_TAKAO
settrainerflag TRAINER_JOCELYN
settrainerflag TRAINER_LAURA
settrainerflag TRAINER_BRENDEN
settrainerflag TRAINER_CRISTIAN
settrainerflag TRAINER_LILITH
return
MauvilleCity_Gym_SetGymTrainers:: @ 8271FBE
settrainerflag TRAINER_KIRK
settrainerflag TRAINER_SHAWN
settrainerflag TRAINER_BEN
settrainerflag TRAINER_VIVIAN
settrainerflag TRAINER_ANGELO
return
LavaridgeTown_Gym_SetGymTrainers:: @ 8271FCE
settrainerflag TRAINER_COLE
settrainerflag TRAINER_AXLE
settrainerflag TRAINER_KEEGAN
settrainerflag TRAINER_GERALD
settrainerflag TRAINER_DANIELLE
settrainerflag TRAINER_JACE
settrainerflag TRAINER_JEFF
settrainerflag TRAINER_ELI
return
PetalburgCity_Gym_SetGymTrainers:: @ 8271FE7
settrainerflag TRAINER_RANDALL
settrainerflag TRAINER_PARKER
settrainerflag TRAINER_GEORGE
settrainerflag TRAINER_BERKE
settrainerflag TRAINER_MARY
settrainerflag TRAINER_ALEXIA
settrainerflag TRAINER_JODY
return
FortreeCity_Gym_SetGymTrainers:: @ 8271FFD
settrainerflag TRAINER_JARED
settrainerflag TRAINER_FLINT
settrainerflag TRAINER_ASHLEY
settrainerflag TRAINER_EDWARDO
settrainerflag TRAINER_HUMBERTO
settrainerflag TRAINER_DARIUS
return
MossdeepCity_Gym_SetGymTrainers:: @ 8272010
settrainerflag TRAINER_PRESTON
settrainerflag TRAINER_VIRGIL
settrainerflag TRAINER_BLAKE
settrainerflag TRAINER_HANNAH
settrainerflag TRAINER_SAMANTHA
settrainerflag TRAINER_MAURA
settrainerflag TRAINER_SYLVIA
settrainerflag TRAINER_NATE
settrainerflag TRAINER_KATHLEEN
settrainerflag TRAINER_CLIFFORD
settrainerflag TRAINER_MACEY
settrainerflag TRAINER_NICHOLAS
return
SootopolisCity_Gym_SetGymTrainers:: @ 8272035
settrainerflag TRAINER_ANDREA
settrainerflag TRAINER_CRISSY
settrainerflag TRAINER_BRIANNA
settrainerflag TRAINER_CONNIE
settrainerflag TRAINER_BRIDGET
settrainerflag TRAINER_OLIVIA
settrainerflag TRAINER_TIFFANY
settrainerflag TRAINER_BETHANY
settrainerflag TRAINER_ANNIKA
settrainerflag TRAINER_DAPHNE
return
.include "data/scripts/surf.inc"
.include "data/scripts/rival_graphics.inc"
.include "data/scripts/set_gym_trainers.inc"
Common_EventScript_ShowBagIsFull:: @ 8272054
msgbox gText_TooBadBagIsFull, MSGBOX_DEFAULT
@@ -1262,6 +872,7 @@ Common_EventScript_StopBrineysBoatMusic:: @ 82720A8
.include "data/scripts/prof_birch.inc"
@ Below could be split as ferry.inc aside from the Rusturf tunnel script
Common_EventScript_FerryDepart:: @ 82721E2
delay 60
applymovement VAR_0x8004, Movement_FerryDepart
@@ -1281,7 +892,7 @@ Movement_FerryDepart: @ 82721F0
EventScript_HideMrBriney:: @ 82721F8
setflag FLAG_HIDE_MR_BRINEY_DEWFORD_TOWN
setflag FLAG_HIDE_MR_BRINEY_BOAT_DEWFORD_TOWN
setflag FLAG_HIDE_ROUTE_108_MR_BRINEY
setflag FLAG_HIDE_ROUTE_109_MR_BRINEY
setflag FLAG_HIDE_ROUTE_109_MR_BRINEY_BOAT
setflag FLAG_HIDE_ROUTE_104_MR_BRINEY
setflag FLAG_HIDE_ROUTE_104_MR_BRINEY_BOAT
@@ -1299,30 +910,26 @@ RusturfTunnel_EventScript_272216:: @ 8272216
setflag FLAG_RUSTURF_TUNNEL_OPENED
return
EventScript_27222B:: @ 827222B
EventScript_UnusedBoardFerry:: @ 827222B
delay 30
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestUp
waitmovement 0
showobjectat 255, MAP_PETALBURG_CITY
delay 30
applymovement EVENT_OBJ_ID_PLAYER, Movement_27224E
applymovement EVENT_OBJ_ID_PLAYER, Movement_UnusedBoardFerry
waitmovement 0
delay 30
return
Movement_27224E: @ 827224E
Movement_UnusedBoardFerry: @ 827224E
walk_up
step_end
BattleFrontier_OutsideWest_EventScript_272250:: @ 8272250
BirthIsland_Harbor_EventScript_272250:: @ 8272250
FarawayIsland_Entrance_EventScript_272250:: @ 8272250
NavelRock_Harbor_EventScript_272250:: @ 8272250
SouthernIsland_Exterior_EventScript_272250:: @ 8272250
Common_EventScript_FerryDepartIsland:: @ 8272250
compare VAR_FACING, DIR_SOUTH
call_if_eq BattleFrontier_OutsideWest_EventScript_242A21
call_if_eq Ferry_EventScript_DepartIslandSouth
compare VAR_FACING, DIR_WEST
call_if_eq BattleFrontier_OutsideWest_EventScript_242A2C
call_if_eq Ferry_EventScript_DepartIslandWest
delay 30
hideobjectat 255, MAP_PETALBURG_CITY
call Common_EventScript_FerryDepart
@@ -1349,60 +956,13 @@ Common_EventScript_PlayerHandedOverTheItem:: @ 82723E4
.include "data/scripts/elite_four.inc"
.include "data/scripts/movement.inc"
.include "data/scripts/check_furniture.inc"
Text_WouldYouLikeToMixRecords: @ 827260D
.string "Would you like to mix records with\n"
.string "other TRAINERS?$"
Text_WouldNotLikeToMixRecords: @ 8272640
.string "We hope to see you again!$"
.include "data/text/record_mix.inc"
.include "data/text/pc.inc"
.include "data/text/pkmn_center_nurse.inc"
.include "data/text/mart_clerk.inc"
.include "data/text/obtain_item.inc"
gText_HowMayIServeYou:: @ 8272A21
.string "Welcome!\p"
.string "How may I serve you?$"
gText_PleaseComeAgain:: @ 8272A3F
.string "Please come again!$"
gText_PlayerWhatCanIDoForYou:: @ 8272A52
.string "{PLAYER}{STRING 5}, welcome!\p"
.string "What can I do for you?$"
gText_ObtainedTheItem:: @ 8272A78
.string "Obtained the {STR_VAR_2}!$"
gText_TheBagIsFull:: @ 8272A89
.string "The BAG is full…$"
gText_PutItemInPocket:: @ 8272A9A
.string "{PLAYER} put away the {STR_VAR_2}\n"
.string "in the {STR_VAR_3} POCKET.$"
gText_PlayerFoundOneItem:: @ 8272ABF
.string "{PLAYER} found one {STR_VAR_2}!$"
gText_TooBadBagIsFull:: @ 8272AD0
.string "Too bad!\n"
.string "The BAG is full…$"
gText_PlayerPutItemInBag:: @ 8272AEA
.string "{PLAYER} put away the {STR_VAR_2}\n"
.string "in the BAG.$"
gText_ObtainedTheMon:: @ 8272B09
.string "Obtained the {STR_VAR_2}!$"
gText_NoRoomLeftForAnother:: @ 8272B1A
.string "Too bad! There's no room left for\n"
.string "another {STR_VAR_2}…$"
gText_TheMonWasTransferredToThePC:: @ 8272B48
.string "The {STR_VAR_2} was transferred\n"
.string "to the PC.$"
@ The below and surf.inc could be split into some text/notices.inc
gText_PokemartSign:: @ 8272B6A
.string "“Selected items for your convenience!”\n"
.string "POKéMON MART$"
@@ -1509,7 +1069,7 @@ gText_ThankYouForAccessingMysteryGift:: @ 8273178
.string "Thank you for accessing the\n"
.string "MYSTERY GIFT System.$"
gText_PlayerFoundOneItemTwoLines:: @ 82731A9
gText_PlayerFoundOneTMHM:: @ 82731A9
.string "{PLAYER} found one {STR_VAR_1}\n"
.string "{STR_VAR_2}!$"
@@ -1521,38 +1081,7 @@ gText_Sudowoodo_Attacked:: @ 82731BD
gText_LegendaryFlewAway:: @ 8273204
.string "The {STR_VAR_1} flew away!$"
gText_PkmnTransferredSomeonesPC:: @ 8273216
.string "{STR_VAR_2} was transferred to\n"
.string "SOMEONE'S PC.\p"
.string "It was placed in \n"
.string "BOX “{STR_VAR_1}.”$"
gText_PkmnTransferredLanettesPC:: @ 8273256
.string "{STR_VAR_2} was transferred to\nLANETTE'S PC.\p"
.string "It was placed in \n"
.string "BOX “{STR_VAR_1}.”$"
gText_PkmnBoxSomeonesPCFull:: @ 8273296
.string "BOX “{STR_VAR_3}” on\n"
.string "SOMEONE'S PC was full.\p"
.string "{STR_VAR_2} was transferred to\n"
.string "BOX “{STR_VAR_1}.”$"
gText_PkmnBoxLanettesPCFull:: @ 82732D9
.string "BOX “{STR_VAR_3}” on\n"
.string "LANETTE'S PC was full.\p"
.string "{STR_VAR_2} was transferred to\n"
.string "BOX “{STR_VAR_1}.”$"
gText_NoMoreRoomForPokemon:: @ 827331C
.string "There's no more room for POKéMON!\p"
.string "The POKéMON BOXES are full and\n"
.string "can't accept any more!$"
gText_NicknameThisPokemon:: @ 8273374
.string "Do you want to give a nickname to\n"
.string "this {STR_VAR_1}?$"
.include "data/text/pc_transfer.inc"
.include "data/text/mevent.inc"
.include "data/text/unusual_weather.inc"
@@ -1602,89 +1131,10 @@ Common_EventScript_LegendaryFlewAway:: @ 8273776
release
end
@ VAR_0x8004 here is used by ChangePokemonNickname
Common_EventScript_GetGiftMonPartySlot:: @ 827378B
getpartysize
subvar VAR_RESULT, 1
copyvar VAR_0x8004, VAR_RESULT
return
Common_EventScript_NameReceivedBoxMon:: @ 8273797
fadescreen 1
special ChangeBoxPokemonNickname
waitstate
lock
faceplayer
return
LittlerootTown_ProfessorBirchsLab_EventScript_2737A0:: @ 82737A0
MossdeepCity_StevensHouse_EventScript_2737A0:: @ 82737A0
Route119_WeatherInstitute_2F_EventScript_2737A0:: @ 82737A0
RustboroCity_DevonCorp_2F_EventScript_2737A0:: @ 82737A0
bufferboxname 0, VAR_PC_BOX_TO_SEND_MON
bufferspeciesname 1, VAR_TEMP_1
call_if_unset FLAG_SYS_PC_LANETTE, LittlerootTown_ProfessorBirchsLab_EventScript_2737BB
call_if_set FLAG_SYS_PC_LANETTE, LittlerootTown_ProfessorBirchsLab_EventScript_2737E6
return
LittlerootTown_ProfessorBirchsLab_EventScript_2737BB:: @ 82737BB
specialvar VAR_RESULT, ShouldShowBoxWasFullMessage
compare VAR_RESULT, 1
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_2737D4
msgbox gText_PkmnTransferredSomeonesPC, MSGBOX_DEFAULT
return
LittlerootTown_ProfessorBirchsLab_EventScript_2737D4:: @ 82737D4
specialvar VAR_RESULT, GetPCBoxToSendMon
bufferboxname 2, VAR_RESULT
msgbox gText_PkmnBoxSomeonesPCFull, MSGBOX_DEFAULT
return
LittlerootTown_ProfessorBirchsLab_EventScript_2737E6:: @ 82737E6
specialvar VAR_RESULT, ShouldShowBoxWasFullMessage
compare VAR_RESULT, 1
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_2737FF
msgbox gText_PkmnTransferredLanettesPC, MSGBOX_DEFAULT
return
LittlerootTown_ProfessorBirchsLab_EventScript_2737FF:: @ 82737FF
specialvar VAR_RESULT, GetPCBoxToSendMon
bufferboxname 2, VAR_RESULT
msgbox gText_PkmnBoxLanettesPCFull, MSGBOX_DEFAULT
return
Common_EventScript_NoMoreRoomForPokemon:: @ 8273811
msgbox gText_NoMoreRoomForPokemon, MSGBOX_DEFAULT
release
end
.include "data/scripts/pc_transfer.inc"
.include "data/scripts/mevent.inc"
.include "data/scripts/unusual_weather.inc"
Std_RegisteredInMatchCall:: @ 82742C9
buffertrainerclassname 0, VAR_0x8000
buffertrainername 1, VAR_0x8000
closemessage
delay 30
playfanfare MUS_ME_TORE_EYE
msgbox gText_RegisteredTrainerinPokeNav, MSGBOX_DEFAULT
waitfanfare
closemessage
delay 30
return
EventScript_TryGetTrainerScript:: @ 82742E6
special ShouldTryGetTrainerScript
compare VAR_RESULT, 1
goto_if_eq EventScript_GotoTrainerScript
releaseall
end
EventScript_GotoTrainerScript:: @ 82742F6
gotobeatenscript
releaseall
end
.include "data/scripts/trainer_script.inc"
.include "data/scripts/berry_tree.inc"
.include "data/scripts/secret_base.inc"
.include "data/scripts/cable_club.inc"
@@ -1704,24 +1154,12 @@ EventScript_GotoTrainerScript:: @ 82742F6
.include "data/scripts/item_ball_scripts.inc"
.include "data/scripts/mystery_event_club.inc"
.include "data/scripts/day_care.inc"
EventScript_2926F8:: @ 82926F8
animateflash 1
setflashradius 1
end
.include "data/scripts/flash.inc"
.include "data/scripts/players_house.inc"
.include "data/scripts/pokeblocks.inc"
.include "data/text/mauville_man.inc"
.include "data/text/trainers.inc"
EventScript_RepelWoreOff:: @ 82A4B2A
msgbox Text_RepelWoreOff, MSGBOX_SIGN
end
Text_RepelWoreOff: @ 82A4B33
.string "REPEL's effect wore off…$"
.include "data/scripts/repel.inc"
.include "data/scripts/safari_zone.inc"
.include "data/scripts/roulette.inc"
.include "data/text/pokedex_rating.inc"
@@ -1743,17 +1181,7 @@ Text_RepelWoreOff: @ 82A4B33
.include "data/text/move_tutors.inc"
.include "data/scripts/move_tutors.inc"
.include "data/scripts/trainer_hill.inc"
Text_ThisIsATestSignpostMsg:: @ 82C840A
.string "This is a test message.\n"
.string "This is a signpost.$"
EventScript_TestSignpostMsg:: @ 82C8436
msgbox Text_ThisIsATestSignpostMsg, MSGBOX_SIGN
end
.include "data/scripts/test_signpost.inc"
.include "data/text/frontier_brain.inc"
.align 2
.include "data/text/save.inc"
.include "data/text/birch_speech.inc"

View File

@@ -7,22 +7,22 @@
.align 2
gUnref_82EC784:: @ 82EC784
.4byte 0x00000000
.4byte 0x00000000
.4byte 0x04000008
.4byte 0x0400000A
.4byte 0x0400000C
.4byte 0x0400000E
.4byte 0x04000010
.4byte 0x04000014
.4byte 0x04000018
.4byte 0x0400001C
.4byte 0x04000012
.4byte 0x04000016
.4byte 0x0400001A
.4byte 0x0400001E
.4byte 0x02000100
.4byte 0x08000400
.4byte 0x00000000
.4byte 0x00000000
.4byte 0x04000008
.4byte 0x0400000A
.4byte 0x0400000C
.4byte 0x0400000E
.4byte 0x04000010
.4byte 0x04000014
.4byte 0x04000018
.4byte 0x0400001C
.4byte 0x04000012
.4byte 0x04000016
.4byte 0x0400001A
.4byte 0x0400001E
.4byte 0x02000100
.4byte 0x08000400
gOverworldBackgroundLayerFlags:: @ 82EC7C4
.2byte 0x0100 /* BLDCNT_TGT2_BG0 */
@@ -30,8 +30,8 @@ gOverworldBackgroundLayerFlags:: @ 82EC7C4
.2byte 0x0400 /* BLDCNT_TGT2_BG2 */
.2byte 0x0800 /* BLDCNT_TGT2_BG3 */
gUnknown_82EC7CC:: @ 82EC7CC
.2byte 0x0001
.2byte 0x0002
.2byte 0x0004
.2byte 0x0008
gOrbEffectBackgroundLayerFlags:: @ 82EC7CC
.2byte 0x0001 /* BLDCNT_TGT1_BG0 */
.2byte 0x0002 /* BLDCNT_TGT1_BG1 */
.2byte 0x0004 /* BLDCNT_TGT1_BG2 */
.2byte 0x0008 /* BLDCNT_TGT1_BG3 */

View File

@@ -20,7 +20,7 @@ AbandonedShip_Rooms_1F_EventScript_237AB3:: @ 8237AB3
end
AbandonedShip_Rooms_1F_EventScript_237ADF:: @ 8237ADF
special sub_80B4808
special PlayerFaceTrainerAfterBattle
waitmovement 0
msgbox AbandonedShip_Rooms_1F_Text_237C2A, MSGBOX_DEFAULT
register_matchcall TRAINER_THALIA_1

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "AncientTomb_EventScript_23905A",
"script": "AncientTomb_EventScript_Registeel",
"flag": "FLAG_HIDE_REGISTEEL"
}
],
@@ -59,7 +59,7 @@
"y": 20,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "AncientTomb_EventScript_239033"
"script": "AncientTomb_EventScript_CaveEntranceMiddle"
},
{
"type": "sign",
@@ -67,7 +67,7 @@
"y": 20,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "AncientTomb_EventScript_239050"
"script": "AncientTomb_EventScript_CaveEntranceSide"
},
{
"type": "sign",
@@ -75,7 +75,7 @@
"y": 20,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "AncientTomb_EventScript_239050"
"script": "AncientTomb_EventScript_CaveEntranceSide"
}
]
}

View File

@@ -1,14 +1,14 @@
AncientTomb_MapScripts:: @ 8238FB3
map_script MAP_SCRIPT_ON_RESUME, AncientTomb_MapScript1_238FC3
map_script MAP_SCRIPT_ON_LOAD, AncientTomb_MapScript1_238FF2
map_script MAP_SCRIPT_ON_RESUME, AncientTomb_OnResume
map_script MAP_SCRIPT_ON_LOAD, AncientTomb_OnLoad
map_script MAP_SCRIPT_ON_TRANSITION, AncientTomb_OnTransition
.byte 0
AncientTomb_MapScript1_238FC3: @ 8238FC3
call_if_set FLAG_SYS_CTRL_OBJ_DELETE, AncientTomb_EventScript_238FCD
AncientTomb_OnResume: @ 8238FC3
call_if_set FLAG_SYS_CTRL_OBJ_DELETE, AncientTomb_EventScript_TryRemoveRegisteel
end
AncientTomb_EventScript_238FCD:: @ 8238FCD
AncientTomb_EventScript_TryRemoveRegisteel:: @ 8238FCD
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_CAUGHT
goto_if_ne Common_EventScript_NopReturn
@@ -17,18 +17,18 @@ AncientTomb_EventScript_238FCD:: @ 8238FCD
AncientTomb_OnTransition: @ 8238FE1
setflag FLAG_LANDMARK_ANCIENT_TOMB
call_if_unset FLAG_DEFEATED_REGISTEEL, AncientTomb_EventScript_238FEE
call_if_unset FLAG_DEFEATED_REGISTEEL, AncientTomb_EventScript_ShowRegisteel
end
AncientTomb_EventScript_238FEE:: @ 8238FEE
AncientTomb_EventScript_ShowRegisteel:: @ 8238FEE
clearflag FLAG_HIDE_REGISTEEL
return
AncientTomb_MapScript1_238FF2: @ 8238FF2
call_if_unset FLAG_SYS_REGISTEEL_PUZZLE_COMPLETED, AncientTomb_EventScript_238FFC
AncientTomb_OnLoad: @ 8238FF2
call_if_unset FLAG_SYS_REGISTEEL_PUZZLE_COMPLETED, AncientTomb_EventScript_HideRegiEntrance
end
AncientTomb_EventScript_238FFC:: @ 8238FFC
AncientTomb_EventScript_HideRegiEntrance:: @ 8238FFC
setmetatile 7, 19, METATILE_Cave_EntranceCover, 1
setmetatile 8, 19, METATILE_Cave_EntranceCover, 1
setmetatile 9, 19, METATILE_Cave_EntranceCover, 1
@@ -37,29 +37,29 @@ AncientTomb_EventScript_238FFC:: @ 8238FFC
setmetatile 9, 20, METATILE_Cave_SealedChamberBraille_Mid, 1
return
AncientTomb_EventScript_239033:: @ 8239033
AncientTomb_EventScript_CaveEntranceMiddle:: @ 8239033
lockall
goto_if_set FLAG_SYS_REGISTEEL_PUZZLE_COMPLETED, AncientTomb_EventScript_239046
braillemessage AncientTomb_Braille_2A6D06
goto_if_set FLAG_SYS_REGISTEEL_PUZZLE_COMPLETED, AncientTomb_EventScript_BigHoleInWall
braillemessage AncientTomb_Braille_ShineInTheMiddle
waitbuttonpress
hidebox2
closebraillemessage
releaseall
end
AncientTomb_EventScript_239046:: @ 8239046
AncientTomb_EventScript_BigHoleInWall:: @ 8239046
msgbox gText_BigHoleInTheWall, MSGBOX_DEFAULT
releaseall
end
AncientTomb_EventScript_239050:: @ 8239050
AncientTomb_EventScript_CaveEntranceSide:: @ 8239050
lockall
braillemessage AncientTomb_Braille_2A6D06
braillemessage AncientTomb_Braille_ShineInTheMiddle
waitbuttonpress
hidebox2
closebraillemessage
releaseall
end
AncientTomb_EventScript_23905A:: @ 823905A
AncientTomb_EventScript_Registeel:: @ 823905A
lock
faceplayer
waitse
@@ -73,21 +73,21 @@ AncientTomb_EventScript_23905A:: @ 823905A
clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_WON
goto_if_eq AncientTomb_EventScript_2390A1
goto_if_eq AncientTomb_EventScript_DefeatedRegisteel
compare VAR_RESULT, B_OUTCOME_RAN
goto_if_eq AncientTomb_EventScript_2390AA
goto_if_eq AncientTomb_EventScript_RanFromRegisteel
compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED
goto_if_eq AncientTomb_EventScript_2390AA
goto_if_eq AncientTomb_EventScript_RanFromRegisteel
setflag FLAG_DEFEATED_REGISTEEL
release
end
AncientTomb_EventScript_2390A1:: @ 82390A1
AncientTomb_EventScript_DefeatedRegisteel:: @ 82390A1
setflag FLAG_DEFEATED_REGISTEEL
goto Common_EventScript_RemoveStaticPokemon
end
AncientTomb_EventScript_2390AA:: @ 82390AA
AncientTomb_EventScript_RanFromRegisteel:: @ 82390AA
setvar VAR_0x8004, SPECIES_REGISTEEL
goto Common_EventScript_LegendaryFlewAway
end

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "AquaHideout_1F_EventScript_233494",
"script": "AquaHideout_1F_EventScript_HideoutEntranceGrunt1",
"flag": "FLAG_HIDE_AQUA_HIDEOUT_1F_GRUNT_1_BLOCKING_ENTRANCE"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "AquaHideout_1F_EventScript_2334C6",
"script": "AquaHideout_1F_EventScript_HideoutEntranceGrunt2",
"flag": "FLAG_HIDE_AQUA_HIDEOUT_1F_GRUNT_2_BLOCKING_ENTRANCE"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 5,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "AquaHideout_1F_EventScript_2334F8",
"script": "AquaHideout_1F_EventScript_Grunt1",
"flag": "FLAG_HIDE_AQUA_HIDEOUT_GRUNTS"
}
],

View File

@@ -1,55 +1,56 @@
AquaHideout_1F_MapScripts:: @ 8233493
.byte 0
AquaHideout_1F_EventScript_233494:: @ 8233494
@ The below two entrance guards give hints about what to do to progress the story
AquaHideout_1F_EventScript_HideoutEntranceGrunt1:: @ 8233494
lock
faceplayer
goto_if_set FLAG_GROUDON_AWAKENED_MAGMA_HIDEOUT, AquaHideout_1F_EventScript_2334BC
goto_if_set FLAG_RECEIVED_RED_OR_BLUE_ORB, AquaHideout_1F_EventScript_2334B2
msgbox AquaHideout_1F_Text_23351D, MSGBOX_DEFAULT
goto_if_set FLAG_GROUDON_AWAKENED_MAGMA_HIDEOUT, AquaHideout_1F_EventScript_SlateportHint1
goto_if_set FLAG_RECEIVED_RED_OR_BLUE_ORB, AquaHideout_1F_EventScript_MagmaHideoutHint1
msgbox AquaHideout_1F_Text_OurBossIsSnatchingSomething, MSGBOX_DEFAULT
release
end
AquaHideout_1F_EventScript_2334B2:: @ 82334B2
msgbox AquaHideout_1F_Text_2335E3, MSGBOX_DEFAULT
AquaHideout_1F_EventScript_MagmaHideoutHint1:: @ 82334B2
msgbox AquaHideout_1F_Text_WhereMightMagmaHideoutBe, MSGBOX_DEFAULT
release
end
AquaHideout_1F_EventScript_2334BC:: @ 82334BC
msgbox AquaHideout_1F_Text_23367D, MSGBOX_DEFAULT
AquaHideout_1F_EventScript_SlateportHint1:: @ 82334BC
msgbox AquaHideout_1F_Text_BossWentToJackASubmarine, MSGBOX_DEFAULT
release
end
AquaHideout_1F_EventScript_2334C6:: @ 82334C6
AquaHideout_1F_EventScript_HideoutEntranceGrunt2:: @ 82334C6
lock
faceplayer
goto_if_set FLAG_GROUDON_AWAKENED_MAGMA_HIDEOUT, AquaHideout_1F_EventScript_2334EE
goto_if_set FLAG_RECEIVED_RED_OR_BLUE_ORB, AquaHideout_1F_EventScript_2334E4
msgbox AquaHideout_1F_Text_233739, MSGBOX_DEFAULT
goto_if_set FLAG_GROUDON_AWAKENED_MAGMA_HIDEOUT, AquaHideout_1F_EventScript_SlateportHint2
goto_if_set FLAG_RECEIVED_RED_OR_BLUE_ORB, AquaHideout_1F_EventScript_MagmaHideoutHint2
msgbox AquaHideout_1F_Text_BossIsOnRoute122, MSGBOX_DEFAULT
release
end
AquaHideout_1F_EventScript_2334E4:: @ 82334E4
msgbox AquaHideout_1F_Text_2337FA, MSGBOX_DEFAULT
AquaHideout_1F_EventScript_MagmaHideoutHint2:: @ 82334E4
msgbox AquaHideout_1F_Text_TeamMagmaAtMtChimney, MSGBOX_DEFAULT
release
end
AquaHideout_1F_EventScript_2334EE:: @ 82334EE
msgbox AquaHideout_1F_Text_233884, MSGBOX_DEFAULT
AquaHideout_1F_EventScript_SlateportHint2:: @ 82334EE
msgbox AquaHideout_1F_Text_BossIsInSlateportCity, MSGBOX_DEFAULT
release
end
AquaHideout_1F_EventScript_2334F8:: @ 82334F8
trainerbattle_single TRAINER_GRUNT_1, AquaHideout_1F_Text_23393D, AquaHideout_1F_Text_233964, AquaHideout_1F_EventScript_233513
msgbox AquaHideout_1F_Text_233977, MSGBOX_AUTOCLOSE
AquaHideout_1F_EventScript_Grunt1:: @ 82334F8
trainerbattle_single TRAINER_GRUNT_1, AquaHideout_1F_Text_Grunt1Intro, AquaHideout_1F_Text_Grunt1Defeat, AquaHideout_1F_EventScript_Grunt1Defeated
msgbox AquaHideout_1F_Text_Grunt1PostBattle, MSGBOX_AUTOCLOSE
end
AquaHideout_1F_EventScript_233513:: @ 8233513
msgbox AquaHideout_1F_Text_233977, MSGBOX_DEFAULT
AquaHideout_1F_EventScript_Grunt1Defeated:: @ 8233513
msgbox AquaHideout_1F_Text_Grunt1PostBattle, MSGBOX_DEFAULT
release
end
AquaHideout_1F_Text_23351D: @ 823351D
AquaHideout_1F_Text_OurBossIsSnatchingSomething: @ 823351D
.string "What? What? What do you want with \n"
.string "TEAM AQUA?\p"
.string "Our BOSS isn't here! He's gone off to\n"
@@ -59,7 +60,7 @@ AquaHideout_1F_Text_23351D: @ 823351D
.string "Wahaha! Do you really think I'd tell\n"
.string "you something that crucial?$"
AquaHideout_1F_Text_2335E3: @ 82335E3
AquaHideout_1F_Text_WhereMightMagmaHideoutBe: @ 82335E3
.string "What? What?\n"
.string "Are you a TEAM MAGMA grunt?\p"
.string "I hear that TEAM MAGMA is trying to\n"
@@ -67,7 +68,7 @@ AquaHideout_1F_Text_2335E3: @ 82335E3
.string "HIDEOUT.\p"
.string "But where might their HIDEOUT be?$"
AquaHideout_1F_Text_23367D: @ 823367D
AquaHideout_1F_Text_BossWentToJackASubmarine: @ 823367D
.string "What? What? What do you want with \n"
.string "TEAM AQUA?\p"
.string "Our BOSS isn't here!\n"
@@ -77,7 +78,7 @@ AquaHideout_1F_Text_23367D: @ 823367D
.string "Wahaha! Do you really think I'd tell\n"
.string "you something that crucial?$"
AquaHideout_1F_Text_233739: @ 8233739
AquaHideout_1F_Text_BossIsOnRoute122: @ 8233739
.string "What? What? What do you want with \n"
.string "TEAM AQUA?\p"
.string "Our BOSS isn't here! He's on his way to\n"
@@ -87,14 +88,14 @@ AquaHideout_1F_Text_233739: @ 8233739
.string "Wahaha! Do you really think I'd tell\n"
.string "you something that crucial?$"
AquaHideout_1F_Text_2337FA: @ 82337FA
AquaHideout_1F_Text_TeamMagmaAtMtChimney: @ 82337FA
.string "What? What?\n"
.string "Are you a TEAM MAGMA grunt?\p"
.string "I hear that TEAM MAGMA is after\n"
.string "an awesome POKéMON at MT. CHIMNEY.\p"
.string "But what is that POKéMON like?$"
AquaHideout_1F_Text_233884: @ 8233884
AquaHideout_1F_Text_BossIsInSlateportCity: @ 8233884
.string "What? What? What do you want with\n"
.string "TEAM AQUA?\p"
.string "Our BOSS isn't here!\n"
@@ -104,15 +105,15 @@ AquaHideout_1F_Text_233884: @ 8233884
.string "Wahaha! Do you really think I'd tell\n"
.string "you something that crucial?$"
AquaHideout_1F_Text_23393D: @ 823393D
AquaHideout_1F_Text_Grunt1Intro: @ 823393D
.string "Ayiyiyi!\n"
.string "Suspicious character spotted!$"
AquaHideout_1F_Text_233964: @ 8233964
AquaHideout_1F_Text_Grunt1Defeat: @ 8233964
.string "Grrrrr…\n"
.string "I lost it!$"
AquaHideout_1F_Text_233977: @ 8233977
AquaHideout_1F_Text_Grunt1PostBattle: @ 8233977
.string "I took the loss for the TEAM,\n"
.string "but I did my job…$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
"script": "AquaHideout_B1F_EventScript_233A85",
"script": "AquaHideout_B1F_EventScript_Grunt2",
"flag": "FLAG_HIDE_AQUA_HIDEOUT_GRUNTS"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "5",
"script": "AquaHideout_B1F_EventScript_233AB0",
"script": "AquaHideout_B1F_EventScript_Grunt3",
"flag": "FLAG_HIDE_AQUA_HIDEOUT_GRUNTS"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
"script": "AquaHideout_B1F_EventScript_233AD5",
"script": "AquaHideout_B1F_EventScript_Grunt21",
"flag": "FLAG_HIDE_AQUA_HIDEOUT_GRUNTS"
},
{
@@ -89,7 +89,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "AquaHideout_B1F_EventScript_2339EB",
"script": "AquaHideout_B1F_EventScript_Electrode1",
"flag": "FLAG_HIDE_AQUA_HIDEOUT_B1F_ELECTRODE_1"
},
{
@@ -115,7 +115,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "AquaHideout_B1F_EventScript_233A38",
"script": "AquaHideout_B1F_EventScript_Electrode2",
"flag": "FLAG_HIDE_AQUA_HIDEOUT_B1F_ELECTRODE_2"
},
{
@@ -128,7 +128,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
"script": "AquaHideout_B1F_EventScript_233AEC",
"script": "AquaHideout_B1F_EventScript_Grunt25",
"flag": "FLAG_HIDE_AQUA_HIDEOUT_GRUNTS"
}
],

View File

@@ -1,13 +1,13 @@
AquaHideout_B1F_MapScripts:: @ 82339A7
map_script MAP_SCRIPT_ON_RESUME, AquaHideout_B1F_MapScript1_2339B2
map_script MAP_SCRIPT_ON_RESUME, AquaHideout_B1F_OnResume
map_script MAP_SCRIPT_ON_TRANSITION, AquaHideout_B1F_OnTransition
.byte 0
AquaHideout_B1F_MapScript1_2339B2: @ 82339B2
call_if_set FLAG_SYS_CTRL_OBJ_DELETE, AquaHideout_B1F_EventScript_2339BC
AquaHideout_B1F_OnResume: @ 82339B2
call_if_set FLAG_SYS_CTRL_OBJ_DELETE, AquaHideout_B1F_EventScript_TryRemoveElectrode
end
AquaHideout_B1F_EventScript_2339BC:: @ 82339BC
AquaHideout_B1F_EventScript_TryRemoveElectrode:: @ 82339BC
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_CAUGHT
goto_if_ne Common_EventScript_NopReturn
@@ -15,19 +15,19 @@ AquaHideout_B1F_EventScript_2339BC:: @ 82339BC
return
AquaHideout_B1F_OnTransition: @ 82339D0
call_if_unset FLAG_DEFEATED_ELECTRODE_1_AQUA_HIDEOUT, AquaHideout_B1F_EventScript_2339E3
call_if_unset FLAG_DEFEATED_ELECTRODE_2_AQUA_HIDEOUT, AquaHideout_B1F_EventScript_2339E7
call_if_unset FLAG_DEFEATED_ELECTRODE_1_AQUA_HIDEOUT, AquaHideout_B1F_EventScript_ShowElectrode1
call_if_unset FLAG_DEFEATED_ELECTRODE_2_AQUA_HIDEOUT, AquaHideout_B1F_EventScript_ShowElectrode2
end
AquaHideout_B1F_EventScript_2339E3:: @ 82339E3
AquaHideout_B1F_EventScript_ShowElectrode1:: @ 82339E3
clearflag FLAG_HIDE_AQUA_HIDEOUT_B1F_ELECTRODE_1
return
AquaHideout_B1F_EventScript_2339E7:: @ 82339E7
AquaHideout_B1F_EventScript_ShowElectrode2:: @ 82339E7
clearflag FLAG_HIDE_AQUA_HIDEOUT_B1F_ELECTRODE_2
return
AquaHideout_B1F_EventScript_2339EB:: @ 82339EB
AquaHideout_B1F_EventScript_Electrode1:: @ 82339EB
lock
faceplayer
setwildbattle SPECIES_ELECTRODE, 30, ITEM_NONE
@@ -40,21 +40,21 @@ AquaHideout_B1F_EventScript_2339EB:: @ 82339EB
clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_WON
goto_if_eq AquaHideout_B1F_EventScript_233A2F
goto_if_eq AquaHideout_B1F_EventScript_DefeatedElectrode1
compare VAR_RESULT, B_OUTCOME_RAN
goto_if_eq AquaHideout_B1F_EventScript_233A2F
goto_if_eq AquaHideout_B1F_EventScript_DefeatedElectrode1
compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED
goto_if_eq AquaHideout_B1F_EventScript_233A2F
goto_if_eq AquaHideout_B1F_EventScript_DefeatedElectrode1
setflag FLAG_DEFEATED_ELECTRODE_1_AQUA_HIDEOUT
release
end
AquaHideout_B1F_EventScript_233A2F:: @ 8233A2F
AquaHideout_B1F_EventScript_DefeatedElectrode1:: @ 8233A2F
setflag FLAG_DEFEATED_ELECTRODE_1_AQUA_HIDEOUT
goto Common_EventScript_RemoveStaticPokemon
end
AquaHideout_B1F_EventScript_233A38:: @ 8233A38
AquaHideout_B1F_EventScript_Electrode2:: @ 8233A38
lock
faceplayer
setwildbattle SPECIES_ELECTRODE, 30, ITEM_NONE
@@ -67,101 +67,101 @@ AquaHideout_B1F_EventScript_233A38:: @ 8233A38
clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_WON
goto_if_eq AquaHideout_B1F_EventScript_233A7C
goto_if_eq AquaHideout_B1F_EventScript_DefeatedElectrode2
compare VAR_RESULT, B_OUTCOME_RAN
goto_if_eq AquaHideout_B1F_EventScript_233A7C
goto_if_eq AquaHideout_B1F_EventScript_DefeatedElectrode2
compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED
goto_if_eq AquaHideout_B1F_EventScript_233A7C
goto_if_eq AquaHideout_B1F_EventScript_DefeatedElectrode2
setflag FLAG_DEFEATED_ELECTRODE_2_AQUA_HIDEOUT
release
end
AquaHideout_B1F_EventScript_233A7C:: @ 8233A7C
AquaHideout_B1F_EventScript_DefeatedElectrode2:: @ 8233A7C
setflag FLAG_DEFEATED_ELECTRODE_2_AQUA_HIDEOUT
goto Common_EventScript_RemoveStaticPokemon
end
AquaHideout_B1F_EventScript_233A85:: @ 8233A85
trainerbattle_single TRAINER_GRUNT_2, AquaHideout_B1F_Text_233B03, AquaHideout_B1F_Text_233B4A, AquaHideout_B1F_EventScript_233AA0
msgbox AquaHideout_B1F_Text_233B5E, MSGBOX_AUTOCLOSE
AquaHideout_B1F_EventScript_Grunt2:: @ 8233A85
trainerbattle_single TRAINER_GRUNT_2, AquaHideout_B1F_Text_Grunt2Intro, AquaHideout_B1F_Text_Grunt2Defeat, AquaHideout_B1F_EventScript_Grunt2Defeated
msgbox AquaHideout_B1F_Text_Grunt2PostBattle, MSGBOX_AUTOCLOSE
end
AquaHideout_B1F_EventScript_233AA0:: @ 8233AA0
special sub_80B4808
AquaHideout_B1F_EventScript_Grunt2Defeated:: @ 8233AA0
special PlayerFaceTrainerAfterBattle
waitmovement 0
msgbox AquaHideout_B1F_Text_233B5E, MSGBOX_DEFAULT
msgbox AquaHideout_B1F_Text_Grunt2PostBattle, MSGBOX_DEFAULT
release
end
AquaHideout_B1F_EventScript_233AB0:: @ 8233AB0
trainerbattle_single TRAINER_GRUNT_3, AquaHideout_B1F_Text_233BC5, AquaHideout_B1F_Text_233C27, AquaHideout_B1F_EventScript_233ACB
msgbox AquaHideout_B1F_Text_233C41, MSGBOX_AUTOCLOSE
AquaHideout_B1F_EventScript_Grunt3:: @ 8233AB0
trainerbattle_single TRAINER_GRUNT_3, AquaHideout_B1F_Text_Grunt3Intro, AquaHideout_B1F_Text_Grunt3Defeat, AquaHideout_B1F_EventScript_Grunt3Defeated
msgbox AquaHideout_B1F_Text_Grunt3PostBattle, MSGBOX_AUTOCLOSE
end
AquaHideout_B1F_EventScript_233ACB:: @ 8233ACB
msgbox AquaHideout_B1F_Text_233C41, MSGBOX_DEFAULT
AquaHideout_B1F_EventScript_Grunt3Defeated:: @ 8233ACB
msgbox AquaHideout_B1F_Text_Grunt3PostBattle, MSGBOX_DEFAULT
release
end
AquaHideout_B1F_EventScript_233AD5:: @ 8233AD5
trainerbattle_single TRAINER_GRUNT_21, AquaHideout_B1F_Text_233C89, AquaHideout_B1F_Text_233CCA
msgbox AquaHideout_B1F_Text_233CDC, MSGBOX_AUTOCLOSE
AquaHideout_B1F_EventScript_Grunt21:: @ 8233AD5
trainerbattle_single TRAINER_GRUNT_21, AquaHideout_B1F_Text_Grunt21Intro, AquaHideout_B1F_Text_Grunt21Defeat
msgbox AquaHideout_B1F_Text_Grunt21PostBattle, MSGBOX_AUTOCLOSE
end
AquaHideout_B1F_EventScript_233AEC:: @ 8233AEC
trainerbattle_single TRAINER_GRUNT_25, AquaHideout_B1F_Text_233D1B, AquaHideout_B1F_Text_233D6E
msgbox AquaHideout_B1F_Text_233D84, MSGBOX_AUTOCLOSE
AquaHideout_B1F_EventScript_Grunt25:: @ 8233AEC
trainerbattle_single TRAINER_GRUNT_25, AquaHideout_B1F_Text_Grunt25Intro, AquaHideout_B1F_Text_Grunt25Defeat
msgbox AquaHideout_B1F_Text_Grunt25PostBattle, MSGBOX_AUTOCLOSE
end
AquaHideout_B1F_Text_233B03: @ 8233B03
AquaHideout_B1F_Text_Grunt2Intro: @ 8233B03
.string "If you want to know the secret about\n"
.string "our HIDEOUT, you have me to beat!$"
AquaHideout_B1F_Text_233B4A: @ 8233B4A
AquaHideout_B1F_Text_Grunt2Defeat: @ 8233B4A
.string "I can't win at all…$"
AquaHideout_B1F_Text_233B5E: @ 8233B5E
AquaHideout_B1F_Text_Grunt2PostBattle: @ 8233B5E
.string "Our HIDEOUT's secret?\p"
.string "Well, let's just say…\n"
.string "There's a submarine at the far end!\p"
.string "But, by now…\n"
.string "Kekekeke…$"
AquaHideout_B1F_Text_233BC5: @ 8233BC5
AquaHideout_B1F_Text_Grunt3Intro: @ 8233BC5
.string "Fuel supply loaded A-OK!\n"
.string "In-cruise snacks loaded A-OK!\p"
.string "Nothing left to do but KO a pesky\n"
.string "meddler!$"
AquaHideout_B1F_Text_233C27: @ 8233C27
AquaHideout_B1F_Text_Grunt3Defeat: @ 8233C27
.string "I took a serious licking!$"
AquaHideout_B1F_Text_233C41: @ 8233C41
AquaHideout_B1F_Text_Grunt3PostBattle: @ 8233C41
.string "Humph!\n"
.string "This was supposed to happen!\p"
.string "My mission was to just hold you up!$"
AquaHideout_B1F_Text_233C89: @ 8233C89
AquaHideout_B1F_Text_Grunt21Intro: @ 8233C89
.string "Yawn… Keeping watch over the\n"
.string "HIDEOUT bores me. I'll take you on.$"
AquaHideout_B1F_Text_233CCA: @ 8233CCA
AquaHideout_B1F_Text_Grunt21Defeat: @ 8233CCA
.string "Yawn…\n"
.string "Oh, I lost…$"
AquaHideout_B1F_Text_233CDC: @ 8233CDC
AquaHideout_B1F_Text_Grunt21PostBattle: @ 8233CDC
.string "If you scurry too much, other TEAM\n"
.string "AQUA members might get you.$"
AquaHideout_B1F_Text_233D1B: @ 8233D1B
AquaHideout_B1F_Text_Grunt25Intro: @ 8233D1B
.string "Hey!\n"
.string "You there!\p"
.string "Which do you think is cooler?\n"
.string "TEAM AQUA's uniform or TEAM MAGMA's?$"
AquaHideout_B1F_Text_233D6E: @ 8233D6E
AquaHideout_B1F_Text_Grunt25Defeat: @ 8233D6E
.string "I lost in a cool way…$"
AquaHideout_B1F_Text_233D84: @ 8233D84
AquaHideout_B1F_Text_Grunt25PostBattle: @ 8233D84
.string "If you have a cool uniform, you look\n"
.string "good even in a loss, don't you think?$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "AquaHideout_B2F_EventScript_233E09",
"script": "AquaHideout_B2F_EventScript_Matt",
"flag": "FLAG_HIDE_AQUA_HIDEOUT_GRUNTS"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 3,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "AquaHideout_B2F_EventScript_233E8A",
"script": "AquaHideout_B2F_EventScript_Grunt4",
"flag": "FLAG_HIDE_AQUA_HIDEOUT_GRUNTS"
},
{
@@ -76,7 +76,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "5",
"script": "AquaHideout_B2F_EventScript_233EAF",
"script": "AquaHideout_B2F_EventScript_Grunt22",
"flag": "FLAG_HIDE_AQUA_HIDEOUT_GRUNTS"
},
{
@@ -89,7 +89,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "5",
"script": "AquaHideout_B2F_EventScript_233EC6",
"script": "AquaHideout_B2F_EventScript_Grunt26",
"flag": "FLAG_HIDE_AQUA_HIDEOUT_GRUNTS"
}
],
@@ -173,7 +173,7 @@
"elevation": 3,
"var": "VAR_TEMP_1",
"var_value": "0",
"script": "AquaHideout_B2F_EventScript_233DE5"
"script": "AquaHideout_B2F_EventScript_MattNoticePlayer"
},
{
"type": "trigger",
@@ -182,7 +182,7 @@
"elevation": 3,
"var": "VAR_TEMP_1",
"var_value": "0",
"script": "AquaHideout_B2F_EventScript_233DE5"
"script": "AquaHideout_B2F_EventScript_MattNoticePlayer"
}
],
"bg_events": []

View File

@@ -3,16 +3,16 @@ AquaHideout_B2F_MapScripts:: @ 8233DCF
.byte 0
AquaHideout_B2F_OnTransition: @ 8233DD5
call_if_set FLAG_TEAM_AQUA_ESCAPED_IN_SUBMARINE, AquaHideout_B2F_EventScript_233DDF
call_if_set FLAG_TEAM_AQUA_ESCAPED_IN_SUBMARINE, AquaHideout_B2F_EventScript_PreventMattNoticing
end
AquaHideout_B2F_EventScript_233DDF:: @ 8233DDF
AquaHideout_B2F_EventScript_PreventMattNoticing:: @ 8233DDF
setvar VAR_TEMP_1, 1
return
AquaHideout_B2F_EventScript_233DE5:: @ 8233DE5
AquaHideout_B2F_EventScript_MattNoticePlayer:: @ 8233DE5
lockall
setvar VAR_0x8008, 1
setvar VAR_0x8008, 1 @ Matt object event id
playse SE_PIN
applymovement VAR_0x8008, Common_Movement_ExclamationMark
waitmovement 0
@@ -22,70 +22,71 @@ AquaHideout_B2F_EventScript_233DE5:: @ 8233DE5
releaseall
end
AquaHideout_B2F_EventScript_233E09:: @ 8233E09
trainerbattle_single TRAINER_MATT, AquaHideout_B2F_Text_233EDD, AquaHideout_B2F_Text_233F8D, AquaHideout_B2F_EventScript_233E25
msgbox AquaHideout_B2F_Text_233FF2, MSGBOX_DEFAULT
AquaHideout_B2F_EventScript_Matt:: @ 8233E09
trainerbattle_single TRAINER_MATT, AquaHideout_B2F_Text_MattIntro, AquaHideout_B2F_Text_MattDefeat, AquaHideout_B2F_EventScript_SubmarineEscape
msgbox AquaHideout_B2F_Text_MattPostBattle, MSGBOX_DEFAULT
release
end
AquaHideout_B2F_EventScript_233E25:: @ 8233E25
setvar VAR_0x8008, 1
setvar VAR_0x8009, 4
AquaHideout_B2F_EventScript_SubmarineEscape:: @ 8233E25
setvar VAR_0x8008, 1 @ Matt object event id
setvar VAR_0x8009, 4 @ Submarine object event id
applymovement VAR_0x8008, Common_Movement_WalkInPlaceFastestLeft
waitmovement 0
delay 20
applymovement VAR_0x8008, Common_Movement_FacePlayer
waitmovement 0
msgbox AquaHideout_B2F_Text_233FA6, MSGBOX_DEFAULT
msgbox AquaHideout_B2F_Text_OurBossGotThroughHisPreparations, MSGBOX_DEFAULT
closemessage
applymovement VAR_0x8008, Common_Movement_WalkInPlaceFastestLeft
applymovement VAR_0x8009, AquaHideout_B2F_Movement_233E80
applymovement VAR_0x8009, AquaHideout_B2F_Movement_SumbarineDepartLeft
waitmovement 0
removeobject VAR_0x8009
delay 20
applymovement VAR_0x8008, Common_Movement_FacePlayer
waitmovement 0
msgbox AquaHideout_B2F_Text_233FF2, MSGBOX_DEFAULT
msgbox AquaHideout_B2F_Text_MattPostBattle, MSGBOX_DEFAULT
setflag FLAG_TEAM_AQUA_ESCAPED_IN_SUBMARINE
setflag FLAG_HIDE_LILYCOVE_CITY_AQUA_GRUNTS
release
end
AquaHideout_B2F_Movement_233E80: @ 8233E80
AquaHideout_B2F_Movement_SumbarineDepartLeft: @ 8233E80
walk_left
walk_left
walk_left
walk_left
step_end
AquaHideout_B2F_Movement_233E85: @ 8233E85
@ Unused
AquaHideout_B2F_Movement_SumbarineDepartRight: @ 8233E85
walk_right
walk_right
walk_right
walk_right
step_end
AquaHideout_B2F_EventScript_233E8A:: @ 8233E8A
trainerbattle_single TRAINER_GRUNT_4, AquaHideout_B2F_Text_2340B4, AquaHideout_B2F_Text_2340F0, AquaHideout_B2F_EventScript_233EA5
msgbox AquaHideout_B2F_Text_234112, MSGBOX_AUTOCLOSE
AquaHideout_B2F_EventScript_Grunt4:: @ 8233E8A
trainerbattle_single TRAINER_GRUNT_4, AquaHideout_B2F_Text_Grunt4Intro, AquaHideout_B2F_Text_Grunt4Defeat, AquaHideout_B2F_EventScript_Grunt4Defeated
msgbox AquaHideout_B2F_Text_Grunt4PostBattle, MSGBOX_AUTOCLOSE
end
AquaHideout_B2F_EventScript_233EA5:: @ 8233EA5
msgbox AquaHideout_B2F_Text_234112, MSGBOX_DEFAULT
AquaHideout_B2F_EventScript_Grunt4Defeated:: @ 8233EA5
msgbox AquaHideout_B2F_Text_Grunt4PostBattle, MSGBOX_DEFAULT
release
end
AquaHideout_B2F_EventScript_233EAF:: @ 8233EAF
trainerbattle_single TRAINER_GRUNT_22, AquaHideout_B2F_Text_23412D, AquaHideout_B2F_Text_2341CE
msgbox AquaHideout_B2F_Text_2341FE, MSGBOX_AUTOCLOSE
AquaHideout_B2F_EventScript_Grunt22:: @ 8233EAF
trainerbattle_single TRAINER_GRUNT_22, AquaHideout_B2F_Text_Grunt22Intro, AquaHideout_B2F_Text_Grunt22Defeat
msgbox AquaHideout_B2F_Text_Grunt22PostBattle, MSGBOX_AUTOCLOSE
end
AquaHideout_B2F_EventScript_233EC6:: @ 8233EC6
trainerbattle_single TRAINER_GRUNT_26, AquaHideout_B2F_Text_23426F, AquaHideout_B2F_Text_2342CC
msgbox AquaHideout_B2F_Text_2342FF, MSGBOX_AUTOCLOSE
AquaHideout_B2F_EventScript_Grunt26:: @ 8233EC6
trainerbattle_single TRAINER_GRUNT_26, AquaHideout_B2F_Text_Grunt26Intro, AquaHideout_B2F_Text_Grunt26Defeat
msgbox AquaHideout_B2F_Text_Grunt26PostBattle, MSGBOX_AUTOCLOSE
end
AquaHideout_B2F_Text_233EDD: @ 8233EDD
AquaHideout_B2F_Text_MattIntro: @ 8233EDD
.string "Hehehe…\p"
.string "Got here already, did you?\n"
.string "We underestimated you!\p"
@@ -95,16 +96,16 @@ AquaHideout_B2F_Text_233EDD: @ 8233EDD
.string "I'm not stalling for time.\n"
.string "I'm going to pulverize you!$"
AquaHideout_B2F_Text_233F8D: @ 8233F8D
AquaHideout_B2F_Text_MattDefeat: @ 8233F8D
.string "Hehehe…\n"
.string "So, I lost, too…$"
AquaHideout_B2F_Text_233FA6: @ 8233FA6
AquaHideout_B2F_Text_OurBossGotThroughHisPreparations: @ 8233FA6
.string "Hehehe!\p"
.string "While I was toying with you, our BOSS\n"
.string "got through his preparations!$"
AquaHideout_B2F_Text_233FF2: @ 8233FF2
AquaHideout_B2F_Text_MattPostBattle: @ 8233FF2
.string "Hehehe!\p"
.string "Our BOSS has already gone on his way to\n"
.string "some cave under the sea!\p"
@@ -114,19 +115,19 @@ AquaHideout_B2F_Text_233FF2: @ 8233FF2
.string "But will you find it then?\n"
.string "Hehehe!$"
AquaHideout_B2F_Text_2340B4: @ 82340B4
AquaHideout_B2F_Text_Grunt4Intro: @ 82340B4
.string "Wahahah, I grew weary of waiting!\n"
.string "You owe me a battle, too!$"
AquaHideout_B2F_Text_2340F0: @ 82340F0
AquaHideout_B2F_Text_Grunt4Defeat: @ 82340F0
.string "Tired of waiting…\n"
.string "Lost and dazed…$"
AquaHideout_B2F_Text_234112: @ 8234112
AquaHideout_B2F_Text_Grunt4PostBattle: @ 8234112
.string "BOSS…\n"
.string "Is this good enough?$"
AquaHideout_B2F_Text_23412D: @ 823412D
AquaHideout_B2F_Text_Grunt22Intro: @ 823412D
.string "Warp panels, the HIDEOUT's pride\n"
.string "and joy!\p"
.string "You're clueless about where you are,\n"
@@ -134,25 +135,25 @@ AquaHideout_B2F_Text_23412D: @ 823412D
.string "Fluster and tire out the enemy, then\n"
.string "lower the boom! That's our plan!$"
AquaHideout_B2F_Text_2341CE: @ 82341CE
AquaHideout_B2F_Text_Grunt22Defeat: @ 82341CE
.string "What's wrong with you?\n"
.string "You're not tired at all!$"
AquaHideout_B2F_Text_2341FE: @ 82341FE
AquaHideout_B2F_Text_Grunt22PostBattle: @ 82341FE
.string "That reminds me… I can't remember\n"
.string "where I put the MASTER BALL.\p"
.string "If I fail to guard it, our BOSS will\n"
.string "chew me out…$"
AquaHideout_B2F_Text_23426F: @ 823426F
AquaHideout_B2F_Text_Grunt26Intro: @ 823426F
.string "When I joined TEAM AQUA, the first\n"
.string "thing I had to learn was how these\l"
.string "warp panels connected.$"
AquaHideout_B2F_Text_2342CC: @ 82342CC
AquaHideout_B2F_Text_Grunt26Defeat: @ 82342CC
.string "I was too occupied thinking about\n"
.string "the warp panels…$"
AquaHideout_B2F_Text_2342FF: @ 82342FF
AquaHideout_B2F_Text_Grunt26PostBattle: @ 82342FF
.string "I'll have to learn about how I can\n"
.string "battle more effectively…$"

View File

@@ -201,9 +201,9 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_2577D0:: @ 82577D0
BattleFrontier_BattleArenaBattleRoom_EventScript_2577DA:: @ 82577DA
msgbox BattleFrontier_BattleArenaBattleRoom_Text_257E6B, MSGBOX_YESNO
switch VAR_RESULT
case 0, BattleFrontier_BattleArenaBattleRoom_EventScript_2576B0
case 1, BattleFrontier_BattleArenaBattleRoom_EventScript_25789A
case 127, BattleFrontier_BattleArenaBattleRoom_EventScript_2576B0
case NO, BattleFrontier_BattleArenaBattleRoom_EventScript_2576B0
case YES, BattleFrontier_BattleArenaBattleRoom_EventScript_25789A
case MULTI_B_PRESSED, BattleFrontier_BattleArenaBattleRoom_EventScript_2576B0
BattleFrontier_BattleArenaBattleRoom_EventScript_257808:: @ 8257808
message BattleFrontier_BattleArenaBattleRoom_Text_257E9E

View File

@@ -173,9 +173,9 @@ BattleFrontier_BattleArenaLobby_EventScript_255E47:: @ 8255E47
goto_if_eq BattleFrontier_BattleArenaLobby_EventScript_255FF8
msgbox BattleFrontier_BattleArenaLobby_Text_2564CE, MSGBOX_YESNO
switch VAR_RESULT
case 0, BattleFrontier_BattleArenaLobby_EventScript_255FF8
case 1, BattleFrontier_BattleArenaLobby_EventScript_255EE8
case 127, BattleFrontier_BattleArenaLobby_EventScript_255FF8
case NO, BattleFrontier_BattleArenaLobby_EventScript_255FF8
case YES, BattleFrontier_BattleArenaLobby_EventScript_255EE8
case MULTI_B_PRESSED, BattleFrontier_BattleArenaLobby_EventScript_255FF8
BattleFrontier_BattleArenaLobby_EventScript_255EE8:: @ 8255EE8
setvar VAR_TEMP_0, 0

View File

@@ -226,9 +226,9 @@ BattleFrontier_BattleDomeLobby_EventScript_249ABF:: @ 8249ABF
goto_if_eq BattleFrontier_BattleDomeLobby_EventScript_249C61
msgbox BattleFrontier_BattleDomeLobby_Text_24A1C6, MSGBOX_YESNO
switch VAR_RESULT
case 0, BattleFrontier_BattleDomeLobby_EventScript_249C61
case 1, BattleFrontier_BattleDomeLobby_EventScript_249B60
case 127, BattleFrontier_BattleDomeLobby_EventScript_249C61
case NO, BattleFrontier_BattleDomeLobby_EventScript_249C61
case YES, BattleFrontier_BattleDomeLobby_EventScript_249B60
case MULTI_B_PRESSED, BattleFrontier_BattleDomeLobby_EventScript_249C61
BattleFrontier_BattleDomeLobby_EventScript_249B60:: @ 8249B60
setvar VAR_TEMP_0, 0

View File

@@ -71,9 +71,9 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_24B33F:: @ 824B33F
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B349:: @ 824B349
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24BA69, MSGBOX_YESNO
switch VAR_RESULT
case 0, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
case 1, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B3BB
case 127, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
case NO, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
case YES, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B3BB
case MULTI_B_PRESSED, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B377:: @ 824B377
message BattleFrontier_BattleDomePreBattleRoom_Text_24BA93

View File

@@ -186,9 +186,9 @@ BattleFrontier_BattleFactoryLobby_EventScript_258653:: @ 8258653
special CallFrontierUtilFunc
msgbox BattleFrontier_BattleFactoryLobby_Text_258C27, MSGBOX_YESNO
switch VAR_RESULT
case 0, BattleFrontier_BattleFactoryLobby_EventScript_25879A
case 1, BattleFrontier_BattleFactoryLobby_EventScript_2586B9
case 127, BattleFrontier_BattleFactoryLobby_EventScript_25879A
case NO, BattleFrontier_BattleFactoryLobby_EventScript_25879A
case YES, BattleFrontier_BattleFactoryLobby_EventScript_2586B9
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryLobby_EventScript_25879A
BattleFrontier_BattleFactoryLobby_EventScript_2586B9:: @ 82586B9
setvar VAR_TEMP_0, 0

View File

@@ -150,9 +150,9 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259D2E:: @ 8259D2E
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259D38:: @ 8259D38
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A350, MSGBOX_YESNO
switch VAR_RESULT
case 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C13
case 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E47
case 127, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C13
case NO, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C13
case YES, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E47
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C13
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259D66:: @ 8259D66
message BattleFrontier_BattleFactoryPreBattleRoom_Text_25A37A
@@ -176,9 +176,9 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259D98:: @ 8259D98
call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A004
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25AB2E, MSGBOX_YESNO
switch VAR_RESULT
case 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259B74
case 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259DF2
case 127, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259B74
case NO, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259B74
case YES, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259DF2
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259B74
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259DF2:: @ 8259DF2
fadescreen 1
@@ -442,9 +442,9 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A146:: @ 825A146
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25AD61, MSGBOX_DEFAULT
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25AB2E, MSGBOX_YESNO
switch VAR_RESULT
case 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259B74
case 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259DF2
case 127, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259B74
case NO, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259B74
case YES, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259DF2
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259B74
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A17C:: @ 825A17C
applymovement 1, BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1B3

View File

@@ -158,9 +158,9 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FAAA:: @ 824FAAA
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FAB4:: @ 824FAB4
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_250030, MSGBOX_YESNO
switch VAR_RESULT
case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A
case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB3F
case 127, BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A
case NO, BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A
case YES, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB3F
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FAE2:: @ 824FAE2
message BattleFrontier_BattlePalaceBattleRoom_Text_25005A

View File

@@ -197,9 +197,9 @@ BattleFrontier_BattlePalaceLobby_EventScript_24D9E6:: @ 824D9E6
goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB91
msgbox BattleFrontier_BattlePalaceLobby_Text_24E3C8, MSGBOX_YESNO
switch VAR_RESULT
case 0, BattleFrontier_BattlePalaceLobby_EventScript_24DB91
case 1, BattleFrontier_BattlePalaceLobby_EventScript_24DA87
case 127, BattleFrontier_BattlePalaceLobby_EventScript_24DB91
case NO, BattleFrontier_BattlePalaceLobby_EventScript_24DB91
case YES, BattleFrontier_BattlePalaceLobby_EventScript_24DA87
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceLobby_EventScript_24DB91
BattleFrontier_BattlePalaceLobby_EventScript_24DA87:: @ 824DA87
setvar VAR_TEMP_0, 0

View File

@@ -166,9 +166,9 @@ BattleFrontier_BattlePikeLobby_EventScript_25B8BB:: @ 825B8BB
goto_if_eq BattleFrontier_BattlePikeLobby_EventScript_25BA73
msgbox BattleFrontier_BattlePikeLobby_Text_25C0D8, MSGBOX_YESNO
switch VAR_RESULT
case 0, BattleFrontier_BattlePikeLobby_EventScript_25BA73
case 1, BattleFrontier_BattlePikeLobby_EventScript_25B95C
case 127, BattleFrontier_BattlePikeLobby_EventScript_25BA73
case NO, BattleFrontier_BattlePikeLobby_EventScript_25BA73
case YES, BattleFrontier_BattlePikeLobby_EventScript_25B95C
case MULTI_B_PRESSED, BattleFrontier_BattlePikeLobby_EventScript_25BA73
BattleFrontier_BattlePikeLobby_EventScript_25B95C:: @ 825B95C
setvar VAR_TEMP_0, 0

View File

@@ -126,8 +126,8 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9C8:: @ 825C9C8
BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9D8:: @ 825C9D8
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_25CCD4, MSGBOX_YESNO
switch VAR_RESULT
case 0, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA2A
case 127, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA2A
case NO, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA2A
case MULTI_B_PRESSED, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA2A
release
end
@@ -150,9 +150,9 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9FD:: @ 825C9FD
BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA2A:: @ 825CA2A
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_25CCFB, MSGBOX_YESNO
switch VAR_RESULT
case 1, BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9FD
case 0, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA5A
case 127, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA5A
case YES, BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9FD
case NO, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA5A
case MULTI_B_PRESSED, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA5A
release
end
@@ -197,9 +197,9 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_25CABB:: @ 825CABB
faceplayer
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_25CE69, MSGBOX_YESNO
switch VAR_RESULT
case 1, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CB0A
case 0, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CB00
case 127, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CB00
case YES, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CB0A
case NO, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CB00
case MULTI_B_PRESSED, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CB00
release
end

View File

@@ -107,7 +107,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185:: @ 825F185
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F21E:: @ 825F21E
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F8B6, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 16
setvar VAR_0x8009, DECOR_KISS_POSTER
@@ -116,7 +116,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F21E:: @ 825F21E
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F241:: @ 825F241
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F8E6, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 32
setvar VAR_0x8009, DECOR_KISS_CUSHION
@@ -125,7 +125,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F241:: @ 825F241
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F264:: @ 825F264
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F917, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 32
setvar VAR_0x8009, DECOR_SMOOCHUM_DOLL
@@ -134,7 +134,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F264:: @ 825F264
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F287:: @ 825F287
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F949, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 48
setvar VAR_0x8009, DECOR_TOGEPI_DOLL
@@ -143,7 +143,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F287:: @ 825F287
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2AA:: @ 825F2AA
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F979, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 48
setvar VAR_0x8009, DECOR_MEOWTH_DOLL
@@ -152,7 +152,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2AA:: @ 825F2AA
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2CD:: @ 825F2CD
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F9A9, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 48
setvar VAR_0x8009, DECOR_CLEFAIRY_DOLL
@@ -161,7 +161,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2CD:: @ 825F2CD
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2F0:: @ 825F2F0
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F9DB, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 48
setvar VAR_0x8009, DECOR_DITTO_DOLL
@@ -170,7 +170,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2F0:: @ 825F2F0
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F313:: @ 825F313
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FA0A, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 80
setvar VAR_0x8009, DECOR_CYNDAQUIL_DOLL
@@ -179,7 +179,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F313:: @ 825F313
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F336:: @ 825F336
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FA3D, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 80
setvar VAR_0x8009, DECOR_CHIKORITA_DOLL
@@ -188,7 +188,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F336:: @ 825F336
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F359:: @ 825F359
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FA70, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 80
setvar VAR_0x8009, DECOR_TOTODILE_DOLL
@@ -221,7 +221,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E:: @ 825F38E
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F3F0:: @ 825F3F0
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FAA2, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
setvar VAR_0x8008, 128
setvar VAR_0x8009, DECOR_LAPRAS_DOLL
@@ -230,7 +230,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F3F0:: @ 825F3F0
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F413:: @ 825F413
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FAD2, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
setvar VAR_0x8008, 128
setvar VAR_0x8009, DECOR_SNORLAX_DOLL
@@ -239,7 +239,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F413:: @ 825F413
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F436:: @ 825F436
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB03, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
setvar VAR_0x8008, 256
setvar VAR_0x8009, DECOR_VENUSAUR_DOLL
@@ -248,7 +248,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F436:: @ 825F436
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F459:: @ 825F459
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB35, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
setvar VAR_0x8008, 256
setvar VAR_0x8009, DECOR_CHARIZARD_DOLL
@@ -257,7 +257,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F459:: @ 825F459
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F47C:: @ 825F47C
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB68, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
setvar VAR_0x8008, 256
setvar VAR_0x8009, DECOR_BLASTOISE_DOLL
@@ -291,7 +291,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1:: @ 825F4B1
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F51E:: @ 825F51E
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB9B, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
setvar VAR_0x8008, 1
setvar VAR_0x8009, ITEM_PROTEIN
@@ -300,7 +300,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F51E:: @ 825F51E
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F541:: @ 825F541
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FBC7, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
setvar VAR_0x8008, 1
setvar VAR_0x8009, ITEM_CALCIUM
@@ -309,7 +309,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F541:: @ 825F541
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F564:: @ 825F564
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FBF3, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
setvar VAR_0x8008, 1
setvar VAR_0x8009, ITEM_IRON
@@ -318,7 +318,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F564:: @ 825F564
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F587:: @ 825F587
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC1C, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
setvar VAR_0x8008, 1
setvar VAR_0x8009, ITEM_ZINC
@@ -327,7 +327,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F587:: @ 825F587
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F5AA:: @ 825F5AA
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC45, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
setvar VAR_0x8008, 1
setvar VAR_0x8009, ITEM_CARBOS
@@ -336,7 +336,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F5AA:: @ 825F5AA
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F5CD:: @ 825F5CD
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC70, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
setvar VAR_0x8008, 1
setvar VAR_0x8009, ITEM_HP_UP
@@ -373,7 +373,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602:: @ 825F602
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F690:: @ 825F690
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE17, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 48
setvar VAR_0x8009, ITEM_LEFTOVERS
@@ -382,7 +382,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F690:: @ 825F690
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6B3:: @ 825F6B3
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FCCB, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 48
setvar VAR_0x8009, ITEM_WHITE_HERB
@@ -391,7 +391,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6B3:: @ 825F6B3
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6D6:: @ 825F6D6
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FCFA, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 48
setvar VAR_0x8009, ITEM_QUICK_CLAW
@@ -400,7 +400,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6D6:: @ 825F6D6
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6F9:: @ 825F6F9
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FD29, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 48
setvar VAR_0x8009, ITEM_MENTAL_HERB
@@ -409,7 +409,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6F9:: @ 825F6F9
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F71C:: @ 825F71C
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC9A, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 64
setvar VAR_0x8009, ITEM_BRIGHT_POWDER
@@ -418,7 +418,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F71C:: @ 825F71C
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F73F:: @ 825F73F
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FD59, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 64
setvar VAR_0x8009, ITEM_CHOICE_BAND
@@ -427,7 +427,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F73F:: @ 825F73F
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F762:: @ 825F762
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FD89, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 64
setvar VAR_0x8009, ITEM_KINGS_ROCK
@@ -436,7 +436,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F762:: @ 825F762
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F785:: @ 825F785
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FDB9, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 64
setvar VAR_0x8009, ITEM_FOCUS_BAND
@@ -445,7 +445,7 @@ BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F785:: @ 825F785
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F7A8:: @ 825F7A8
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FDE8, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 64
setvar VAR_0x8009, ITEM_SCOPE_LENS

View File

@@ -61,10 +61,10 @@ BattleFrontier_BattlePyramidLobby_EventScript_2507D2:: @ 82507D2
msgbox BattleFrontier_BattlePyramidLobby_Text_2525F4, MSGBOX_DEFAULT
BattleFrontier_BattlePyramidLobby_EventScript_2507DA:: @ 82507DA
special sub_81B95E0
compare VAR_RESULT, 1
special DoBattlePyramidMonsHaveHeldItem
compare VAR_RESULT, TRUE
call_if_eq BattleFrontier_BattlePyramidLobby_EventScript_250DDB
clearflag FLAG_SPECIAL_FLAG_0x4004
clearflag FLAG_STORING_ITEMS_IN_PYRAMID_BAG
setvar VAR_0x8004, 8
special CallFrontierUtilFunc
special LoadPlayerParty
@@ -170,9 +170,9 @@ BattleFrontier_BattlePyramidLobby_EventScript_250904:: @ 8250904
goto_if_eq BattleFrontier_BattlePyramidLobby_EventScript_250AC1
msgbox BattleFrontier_BattlePyramidLobby_Text_2514E6, MSGBOX_YESNO
switch VAR_RESULT
case 0, BattleFrontier_BattlePyramidLobby_EventScript_250AC1
case 1, BattleFrontier_BattlePyramidLobby_EventScript_2509A5
case 127, BattleFrontier_BattlePyramidLobby_EventScript_250AC1
case NO, BattleFrontier_BattlePyramidLobby_EventScript_250AC1
case YES, BattleFrontier_BattlePyramidLobby_EventScript_2509A5
case MULTI_B_PRESSED, BattleFrontier_BattlePyramidLobby_EventScript_250AC1
BattleFrontier_BattlePyramidLobby_EventScript_2509A5:: @ 82509A5
setvar VAR_TEMP_0, 0
@@ -494,8 +494,8 @@ BattleFrontier_BattlePyramidLobby_Movement_250DD8: @ 8250DD8
BattleFrontier_BattlePyramidLobby_EventScript_250DDB:: @ 8250DDB
msgbox BattleFrontier_BattlePyramidLobby_Text_2517FC, MSGBOX_DEFAULT
setflag FLAG_SPECIAL_FLAG_0x4004
special sub_81C6A94
setflag FLAG_STORING_ITEMS_IN_PYRAMID_BAG
special TryStoreHeldItemsInPyramidBag
compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattlePyramidLobby_EventScript_250E00
message BattleFrontier_BattlePyramidLobby_Text_2518C6
@@ -525,7 +525,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_250E40:: @ 8250E40
end
BattleFrontier_BattlePyramidLobby_EventScript_250E50:: @ 8250E50
special sub_81B9620
special BattlePyramidChooseMonHeldItems
waitstate
message BattleFrontier_BattlePyramidLobby_Text_25197E
waitmessage
@@ -533,8 +533,8 @@ BattleFrontier_BattlePyramidLobby_EventScript_250E50:: @ 8250E50
end
BattleFrontier_BattlePyramidLobby_EventScript_250E60:: @ 8250E60
special sub_81B95E0
compare VAR_RESULT, 1
special DoBattlePyramidMonsHaveHeldItem
compare VAR_RESULT, TRUE
goto_if_eq BattleFrontier_BattlePyramidLobby_EventScript_250E6F
return

View File

@@ -131,9 +131,9 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_241D72:: @ 8241D72
BattleFrontier_BattleTowerBattleRoom_EventScript_241D7C:: @ 8241D7C
msgbox BattleFrontier_BattleTowerBattleRoom_Text_2423FC, MSGBOX_YESNO
switch VAR_RESULT
case 0, BattleFrontier_BattleTowerBattleRoom_EventScript_241C8F
case 1, BattleFrontier_BattleTowerBattleRoom_EventScript_241E22
case 127, BattleFrontier_BattleTowerBattleRoom_EventScript_241C8F
case NO, BattleFrontier_BattleTowerBattleRoom_EventScript_241C8F
case YES, BattleFrontier_BattleTowerBattleRoom_EventScript_241E22
case MULTI_B_PRESSED, BattleFrontier_BattleTowerBattleRoom_EventScript_241C8F
BattleFrontier_BattleTowerBattleRoom_EventScript_241DAA:: @ 8241DAA
message BattleFrontier_BattleTowerBattleRoom_Text_24244C

View File

@@ -205,8 +205,8 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_249219:: @ 8249219
BattleFrontier_BattleTowerBattleRoom2_EventScript_249223:: @ 8249223
msgbox BattleFrontier_BattleTowerBattleRoom2_Text_2423FC, MSGBOX_YESNO
switch VAR_RESULT
case 0, BattleFrontier_BattleTowerBattleRoom2_EventScript_249143
case 1, BattleFrontier_BattleTowerBattleRoom2_EventScript_2492DB
case NO, BattleFrontier_BattleTowerBattleRoom2_EventScript_249143
case YES, BattleFrontier_BattleTowerBattleRoom2_EventScript_2492DB
case MULTI_B_PRESSED, BattleFrontier_BattleTowerBattleRoom2_EventScript_249143
BattleFrontier_BattleTowerBattleRoom2_EventScript_249251:: @ 8249251

View File

@@ -278,9 +278,9 @@ BattleFrontier_BattleTowerLobby_EventScript_23E984:: @ 823E984
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F0E3
msgbox BattleFrontier_BattleTowerLobby_Text_23FDC7, MSGBOX_YESNO
switch VAR_RESULT
case 0, BattleFrontier_BattleTowerLobby_EventScript_23F0E3
case 1, BattleFrontier_BattleTowerLobby_EventScript_23EA2A
case 127, BattleFrontier_BattleTowerLobby_EventScript_23F0E3
case NO, BattleFrontier_BattleTowerLobby_EventScript_23F0E3
case YES, BattleFrontier_BattleTowerLobby_EventScript_23EA2A
case MULTI_B_PRESSED, BattleFrontier_BattleTowerLobby_EventScript_23F0E3
BattleFrontier_BattleTowerLobby_EventScript_23EA2A:: @ 823EA2A
setvar VAR_0x8004, 2
@@ -358,9 +358,9 @@ BattleFrontier_BattleTowerLobby_EventScript_23EAED:: @ 823EAED
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F0E3
msgbox BattleFrontier_BattleTowerLobby_Text_23FDC7, MSGBOX_YESNO
switch VAR_RESULT
case 0, BattleFrontier_BattleTowerLobby_EventScript_23F0E3
case 1, BattleFrontier_BattleTowerLobby_EventScript_23EB93
case 127, BattleFrontier_BattleTowerLobby_EventScript_23F0E3
case NO, BattleFrontier_BattleTowerLobby_EventScript_23F0E3
case YES, BattleFrontier_BattleTowerLobby_EventScript_23EB93
case MULTI_B_PRESSED, BattleFrontier_BattleTowerLobby_EventScript_23F0E3
BattleFrontier_BattleTowerLobby_EventScript_23EB93:: @ 823EB93
setvar VAR_0x8004, 2
@@ -439,9 +439,9 @@ BattleFrontier_BattleTowerLobby_EventScript_23EC59:: @ 823EC59
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F0E3
msgbox BattleFrontier_BattleTowerLobby_Text_23FDC7, MSGBOX_YESNO
switch VAR_RESULT
case 0, BattleFrontier_BattleTowerLobby_EventScript_23F0E3
case 1, BattleFrontier_BattleTowerLobby_EventScript_23ECFF
case 127, BattleFrontier_BattleTowerLobby_EventScript_23F0E3
case NO, BattleFrontier_BattleTowerLobby_EventScript_23F0E3
case YES, BattleFrontier_BattleTowerLobby_EventScript_23ECFF
case MULTI_B_PRESSED, BattleFrontier_BattleTowerLobby_EventScript_23F0E3
BattleFrontier_BattleTowerLobby_EventScript_23ECFF:: @ 823ECFF
setvar VAR_0x8004, 2
@@ -519,9 +519,9 @@ BattleFrontier_BattleTowerLobby_EventScript_23EDC2:: @ 823EDC2
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F0E3
msgbox BattleFrontier_BattleTowerLobby_Text_23FDC7, MSGBOX_YESNO
switch VAR_RESULT
case 0, BattleFrontier_BattleTowerLobby_EventScript_23F0E3
case 1, BattleFrontier_BattleTowerLobby_EventScript_23EE68
case 127, BattleFrontier_BattleTowerLobby_EventScript_23F0E3
case NO, BattleFrontier_BattleTowerLobby_EventScript_23F0E3
case YES, BattleFrontier_BattleTowerLobby_EventScript_23EE68
case MULTI_B_PRESSED, BattleFrontier_BattleTowerLobby_EventScript_23F0E3
BattleFrontier_BattleTowerLobby_EventScript_23EE68:: @ 823EE68
setvar VAR_0x8004, 2

View File

@@ -11,7 +11,7 @@ BattleFrontier_Lounge1_EventScript_25E775:: @ 825E775
end
BattleFrontier_Lounge1_EventScript_25E792:: @ 825E792
special sub_81B94B0
special ChoosePartyMon
waitstate
compare VAR_0x8004, 255
goto_if_ne BattleFrontier_Lounge1_EventScript_25E7BF

View File

@@ -18,10 +18,10 @@ BattleFrontier_Lounge3_EventScript_261DAF:: @ 8261DAF
waitmessage
waitbuttonpress
msgbox BattleFrontier_Lounge3_Text_262A60, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_Lounge3_EventScript_261FA5
msgbox BattleFrontier_Lounge3_Text_262ABD, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_Lounge3_EventScript_261FA5
message BattleFrontier_Lounge3_Text_262B42
waitmessage

View File

@@ -5,9 +5,9 @@ BattleFrontier_Lounge5_EventScript_NatureGirl:: @ 82645C6
lock
faceplayer
msgbox BattleFrontier_Lounge5_Text_NatureGirlGreeting, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_Lounge5_EventScript_NatureGirlNoneShown
special sub_81B94B0
special ChoosePartyMon
waitstate
lock
faceplayer

View File

@@ -10,9 +10,9 @@ BattleFrontier_Lounge6_EventScript_264FED:: @ 8264FED
specialvar VAR_RESULT, GetInGameTradeSpeciesInfo
copyvar VAR_0x8009, VAR_RESULT
msgbox BattleFrontier_Lounge6_Text_26508D, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_Lounge6_EventScript_26506B
special sub_81B94B0
special ChoosePartyMon
waitstate
copyvar VAR_0x800A, VAR_0x8004
compare VAR_0x8004, 255

View File

@@ -250,7 +250,7 @@ BattleFrontier_Lounge7_EventScript_26564F:: @ 826564F
buffernumberstring 1, VAR_0x8008
copyvar VAR_0x8004, VAR_TEMP_C
msgbox BattleFrontier_Lounge7_Text_265921, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_Lounge7_EventScript_2656CA
specialvar VAR_TEMP_1, GetFrontierBattlePoints
compare VAR_TEMP_1, VAR_0x8008
@@ -265,7 +265,7 @@ BattleFrontier_Lounge7_EventScript_265696:: @ 8265696
fadescreen 1
special CloseBattlePointsWindow
special CloseBattleFrontierTutorWindow
special OpenPartyMenuForMoveTutor
special ChooseMonForMoveTutor
waitstate
compare VAR_RESULT, 0
goto_if_eq BattleFrontier_Lounge7_EventScript_265645

View File

@@ -199,7 +199,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideEast_EventScript_242CEA",
"script": "BattleFrontier_OutsideEast_EventScript_Sudowoodo",
"flag": "FLAG_HIDE_BATTLE_FRONTIER_SUDOWOODO"
},
{

View File

@@ -102,24 +102,24 @@ BattleFrontier_OutsideEast_EventScript_242CE1:: @ 8242CE1
msgbox BattleFrontier_OutsideEast_Text_243230, MSGBOX_NPC
end
BattleFrontier_OutsideEast_EventScript_242CEA:: @ 8242CEA
BattleFrontier_OutsideEast_EventScript_Sudowoodo:: @ 8242CEA
lock
faceplayer
waitse
playse 269
applymovement 14, BattleFrontier_OutsideEast_Movement_242D69
applymovement 14, BattleFrontier_OutsideEast_Movement_SudowoodoShake
waitmovement 0
release
end
BattleFrontier_OutsideEast_EventScript_242CFC:: @ 8242CFC
BattleFrontier_OutsideEast_EventScript_WaterSudowoodo:: @ 8242CFC
lock
faceplayer
special DoWateringBerryTreeAnim
waitstate
waitse
playse 269
applymovement 14, BattleFrontier_OutsideEast_Movement_242D69
playse SE_USSOKI
applymovement 14, BattleFrontier_OutsideEast_Movement_SudowoodoShake
waitmovement 0
msgbox gText_Sudowoodo_Attacked, MSGBOX_DEFAULT
closemessage
@@ -127,28 +127,28 @@ BattleFrontier_OutsideEast_EventScript_242CFC:: @ 8242CFC
playmoncry SPECIES_SUDOWOODO, 2
delay 40
waitmoncry
setvar VAR_LAST_TALKED, 14
setvar VAR_LAST_TALKED, 14 @ Sudowoodo object event id
setwildbattle SPECIES_SUDOWOODO, 40, ITEM_NONE
setflag FLAG_SYS_CTRL_OBJ_DELETE
dowildbattle
clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_WON
goto_if_eq BattleFrontier_OutsideEast_EventScript_242D60
goto_if_eq BattleFrontier_OutsideEast_EventScript_RemoveSudowoodo
compare VAR_RESULT, B_OUTCOME_RAN
goto_if_eq BattleFrontier_OutsideEast_EventScript_242D60
goto_if_eq BattleFrontier_OutsideEast_EventScript_RemoveSudowoodo
compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED
goto_if_eq BattleFrontier_OutsideEast_EventScript_242D60
goto_if_eq BattleFrontier_OutsideEast_EventScript_RemoveSudowoodo
setflag FLAG_DEFEATED_SUDOWOODO
release
end
BattleFrontier_OutsideEast_EventScript_242D60:: @ 8242D60
BattleFrontier_OutsideEast_EventScript_RemoveSudowoodo:: @ 8242D60
setflag FLAG_DEFEATED_SUDOWOODO
goto Common_EventScript_RemoveStaticPokemon
end
BattleFrontier_OutsideEast_Movement_242D69: @ 8242D69
BattleFrontier_OutsideEast_Movement_SudowoodoShake: @ 8242D69
face_right
delay_8
face_down

View File

@@ -35,7 +35,7 @@ BattleFrontier_OutsideWest_EventScript_23D44E:: @ 823D44E
BattleFrontier_OutsideWest_EventScript_23D458:: @ 823D458
msgbox BattleFrontier_OutsideWest_Text_23D8F2, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_OutsideWest_EventScript_23D4AE
msgbox BattleFrontier_OutsideWest_Text_23D94B, MSGBOX_DEFAULT
call BattleFrontier_OutsideWest_EventScript_23D4BA
@@ -46,7 +46,7 @@ BattleFrontier_OutsideWest_EventScript_23D458:: @ 823D458
BattleFrontier_OutsideWest_EventScript_23D483:: @ 823D483
msgbox BattleFrontier_OutsideWest_Text_23D90E, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_OutsideWest_EventScript_23D4AE
msgbox BattleFrontier_OutsideWest_Text_23D94B, MSGBOX_DEFAULT
call BattleFrontier_OutsideWest_EventScript_23D4BA
@@ -68,7 +68,7 @@ BattleFrontier_OutsideWest_EventScript_23D4BA:: @ 823D4BA
delay 30
hideobjectat 3, MAP_BATTLE_FRONTIER_OUTSIDE_WEST
setvar VAR_0x8004, 2
call BattleFrontier_OutsideWest_EventScript_272250
call Common_EventScript_FerryDepartIsland
return
BattleFrontier_OutsideWest_EventScript_23D4D8:: @ 823D4D8

View File

@@ -86,7 +86,7 @@ BattleFrontier_RankingHall_EventScript_25E54A:: @ 825E54A
lock
faceplayer
msgbox BattleFrontier_RankingHall_Text_25E666, MSGBOX_YESNO
compare VAR_RESULT, 1
compare VAR_RESULT, YES
goto_if_eq BattleFrontier_RankingHall_EventScript_25E569
msgbox BattleFrontier_RankingHall_Text_25E6B6, MSGBOX_DEFAULT
release

View File

@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BirthIsland_Exterior_EventScript_267F83",
"script": "BirthIsland_Exterior_EventScript_Triangle",
"flag": "FLAG_HIDE_BIRTH_ISLAND_DEOXYS_TRIANGLE"
},
{

View File

@@ -1,11 +1,11 @@
BirthIsland_Exterior_MapScripts:: @ 8267F15
map_script MAP_SCRIPT_ON_TRANSITION, BirthIsland_Exterior_OnTransition
map_script MAP_SCRIPT_ON_RESUME, BirthIsland_Exterior_MapScript1_267F65
map_script MAP_SCRIPT_ON_RETURN_TO_FIELD, BirthIsland_Exterior_MapScript1_267F25
map_script MAP_SCRIPT_ON_RESUME, BirthIsland_Exterior_OnResume
map_script MAP_SCRIPT_ON_RETURN_TO_FIELD, BirthIsland_Exterior_OnReturnToField
.byte 0
BirthIsland_Exterior_MapScript1_267F25: @ 8267F25
special sub_813B1D0
BirthIsland_Exterior_OnReturnToField: @ 8267F25
special SetDeoxysRockPalette
end
BirthIsland_Exterior_OnTransition: @ 8267F29
@@ -13,57 +13,57 @@ BirthIsland_Exterior_OnTransition: @ 8267F29
setvar VAR_OBJ_GFX_ID_0, EVENT_OBJ_GFX_RIVAL_BRENDAN_NORMAL
setvar VAR_DEOXYS_ROCK_STEP_COUNT, 0
setvar VAR_DEOXYS_ROCK_LEVEL, 0
call_if_set FLAG_BATTLED_DEOXYS, BirthIsland_Exterior_EventScript_267F4E
call_if_unset FLAG_BATTLED_DEOXYS, BirthIsland_Exterior_EventScript_267F55
call_if_set FLAG_BATTLED_DEOXYS, BirthIsland_Exterior_EventScript_HideDeoxysAndPuzzle
call_if_unset FLAG_BATTLED_DEOXYS, BirthIsland_Exterior_EventScript_TryShowDeoxysPuzzle
end
BirthIsland_Exterior_EventScript_267F4E:: @ 8267F4E
BirthIsland_Exterior_EventScript_HideDeoxysAndPuzzle:: @ 8267F4E
setflag FLAG_HIDE_DEOXYS
setflag FLAG_HIDE_BIRTH_ISLAND_DEOXYS_TRIANGLE
return
BirthIsland_Exterior_EventScript_267F55:: @ 8267F55
BirthIsland_Exterior_EventScript_TryShowDeoxysPuzzle:: @ 8267F55
goto_if_set FLAG_DEFEATED_DEOXYS, Common_EventScript_NopReturn
clearflag FLAG_HIDE_BIRTH_ISLAND_DEOXYS_TRIANGLE
clearflag FLAG_DEOXYS_ROCK_COMPLETE
return
BirthIsland_Exterior_MapScript1_267F65: @ 8267F65
call_if_set FLAG_SYS_CTRL_OBJ_DELETE, BirthIsland_Exterior_EventScript_267F6F
BirthIsland_Exterior_OnResume: @ 8267F65
call_if_set FLAG_SYS_CTRL_OBJ_DELETE, BirthIsland_Exterior_EventScript_TryRemoveDeoxys
end
BirthIsland_Exterior_EventScript_267F6F:: @ 8267F6F
BirthIsland_Exterior_EventScript_TryRemoveDeoxys:: @ 8267F6F
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_CAUGHT
goto_if_ne Common_EventScript_NopReturn
removeobject 2
return
BirthIsland_Exterior_EventScript_267F83:: @ 8267F83
BirthIsland_Exterior_EventScript_Triangle:: @ 8267F83
lock
faceplayer
special DoDeoxysRockInteraction
waitstate
switch VAR_RESULT
case 0, BirthIsland_Exterior_EventScript_267FBB
case 1, BirthIsland_Exterior_EventScript_267FBD
case 2, BirthIsland_Exterior_EventScript_267FC1
case 3, BirthIsland_Exterior_EventScript_267FBF
case 0, BirthIsland_Exterior_EventScript_NotSolved1
case 1, BirthIsland_Exterior_EventScript_NotSolved2
case 2, BirthIsland_Exterior_EventScript_Deoxys
case 3, BirthIsland_Exterior_EventScript_NotSolved3
end
BirthIsland_Exterior_EventScript_267FBB:: @ 8267FBB
BirthIsland_Exterior_EventScript_NotSolved1:: @ 8267FBB
release
end
BirthIsland_Exterior_EventScript_267FBD:: @ 8267FBD
BirthIsland_Exterior_EventScript_NotSolved2:: @ 8267FBD
release
end
BirthIsland_Exterior_EventScript_267FBF:: @ 8267FBF
BirthIsland_Exterior_EventScript_NotSolved3:: @ 8267FBF
release
end
BirthIsland_Exterior_EventScript_267FC1:: @ 8267FC1
BirthIsland_Exterior_EventScript_Deoxys:: @ 8267FC1
waitse
setfieldeffectargument 0, 1
setfieldeffectargument 1, 58
@@ -72,7 +72,7 @@ BirthIsland_Exterior_EventScript_267FC1:: @ 8267FC1
playbgm MUS_RG_DEOEYE, 0
waitfieldeffect FLDEFF_65
addobject 2
applymovement 2, BirthIsland_Exterior_Movement_268054
applymovement 2, BirthIsland_Exterior_Movement_DeoxysApproach
waitmovement 0
waitse
playmoncry SPECIES_DEOXYS, 2
@@ -80,7 +80,7 @@ BirthIsland_Exterior_EventScript_267FC1:: @ 8267FC1
waitmoncry
setvar VAR_LAST_TALKED, 2
setvar VAR_0x8004, SPECIES_DEOXYS
setvar VAR_0x8005, 30 @level
setvar VAR_0x8005, 30 @ level
setvar VAR_0x8006, ITEM_NONE
special CreateObedientEnemyMon
setflag FLAG_SYS_CTRL_OBJ_DELETE
@@ -89,27 +89,27 @@ BirthIsland_Exterior_EventScript_267FC1:: @ 8267FC1
clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_WON
goto_if_eq BirthIsland_Exterior_EventScript_26803B
goto_if_eq BirthIsland_Exterior_EventScript_DefeatedDeoxys
compare VAR_RESULT, B_OUTCOME_RAN
goto_if_eq BirthIsland_Exterior_EventScript_268049
goto_if_eq BirthIsland_Exterior_EventScript_RanFromDeoxys
compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED
goto_if_eq BirthIsland_Exterior_EventScript_268049
goto_if_eq BirthIsland_Exterior_EventScript_RanFromDeoxys
setflag FLAG_BATTLED_DEOXYS
release
end
BirthIsland_Exterior_EventScript_26803B:: @ 826803B
BirthIsland_Exterior_EventScript_DefeatedDeoxys:: @ 826803B
setflag FLAG_DEFEATED_DEOXYS
setvar VAR_0x8004, SPECIES_DEOXYS
goto Common_EventScript_LegendaryFlewAway
end
BirthIsland_Exterior_EventScript_268049:: @ 8268049
BirthIsland_Exterior_EventScript_RanFromDeoxys:: @ 8268049
setvar VAR_0x8004, SPECIES_DEOXYS
goto Common_EventScript_LegendaryFlewAway
end
BirthIsland_Exterior_Movement_268054: @ 8268054
BirthIsland_Exterior_Movement_DeoxysApproach: @ 8268054
walk_slow_down
walk_slow_down
walk_slow_down

View File

@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BirthIsland_Harbor_EventScript_26805D",
"script": "BirthIsland_Harbor_EventScript_Sailor",
"flag": "0"
},
{

View File

@@ -1,12 +1,12 @@
BirthIsland_Harbor_MapScripts:: @ 826805C
.byte 0
BirthIsland_Harbor_EventScript_26805D:: @ 826805D
BirthIsland_Harbor_EventScript_Sailor:: @ 826805D
lock
faceplayer
msgbox BirthIsland_Harbor_Text_SailorReturn, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_if_eq BirthIsland_Harbor_EventScript_2680A2
compare VAR_RESULT, NO
goto_if_eq BirthIsland_Harbor_EventScript_AsYouLike
msgbox EventTicket_Text_SailHome, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, Common_Movement_WalkInPlaceFastestDown
@@ -14,13 +14,13 @@ BirthIsland_Harbor_EventScript_26805D:: @ 826805D
delay 30
hideobjectat 1, MAP_BIRTH_ISLAND_HARBOR
setvar VAR_0x8004, 2
call BirthIsland_Harbor_EventScript_272250
call Common_EventScript_FerryDepartIsland
warp MAP_LILYCOVE_CITY_HARBOR, 255, 8, 11
waitstate
release
end
BirthIsland_Harbor_EventScript_2680A2:: @ 82680A2
BirthIsland_Harbor_EventScript_AsYouLike:: @ 82680A2
msgbox EventTicket_Text_AsYouLike, MSGBOX_DEFAULT
release
end

View File

@@ -3,5 +3,5 @@ CaveOfOrigin_1F_MapScripts:: @ 8235768
.byte 0
CaveOfOrigin_1F_OnTransition: @ 823576E
call_if_set FLAG_UNUSED_RS_LEGENDARY_BATTLE_DONE, CaveOfOrigin_1F_EventScript_2722C1
call_if_set FLAG_UNUSED_RS_LEGENDARY_BATTLE_DONE, CaveOfOrigin_EventScript_SetTempVars
end

View File

@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "CaveOfOrigin_B1F_EventScript_2357A9",
"script": "CaveOfOrigin_B1F_EventScript_Wallace",
"flag": "FLAG_HIDE_CAVE_OF_ORIGIN_B1F_WALLACE"
}
],

View File

@@ -1,10 +1,10 @@
CaveOfOrigin_B1F_MapScripts:: @ 82357A8
.byte 0
CaveOfOrigin_B1F_EventScript_2357A9:: @ 82357A9
CaveOfOrigin_B1F_EventScript_Wallace:: @ 82357A9
lock
faceplayer
msgbox CaveOfOrigin_B1F_Text_23586E, MSGBOX_DEFAULT
msgbox CaveOfOrigin_B1F_Text_WallaceStory, MSGBOX_DEFAULT
closemessage
applymovement 1, Common_Movement_WalkInPlaceFastestUp
waitmovement 0
@@ -17,37 +17,37 @@ CaveOfOrigin_B1F_EventScript_2357A9:: @ 82357A9
delay 30
applymovement 1, Common_Movement_FacePlayer
waitmovement 0
message CaveOfOrigin_B1F_Text_235ACE
message CaveOfOrigin_B1F_Text_WhereIsRayquaza
waitmessage
goto CaveOfOrigin_B1F_EventScript_2357F0
goto CaveOfOrigin_B1F_EventScript_WheresRayquaza
CaveOfOrigin_B1F_EventScript_2357F0:: @ 82357F0
CaveOfOrigin_B1F_EventScript_WheresRayquaza:: @ 82357F0
multichoice 0, 0, MULTI_WHERES_RAYQUAZA, 0
switch VAR_RESULT
case 0, CaveOfOrigin_B1F_EventScript_23582C
case 1, CaveOfOrigin_B1F_EventScript_235837
case 2, CaveOfOrigin_B1F_EventScript_23584D
case 3, CaveOfOrigin_B1F_EventScript_235842
goto CaveOfOrigin_B1F_EventScript_235842
case 0, CaveOfOrigin_B1F_EventScript_AtCaveOfOrigin
case 1, CaveOfOrigin_B1F_EventScript_AtMtPyre
case 2, CaveOfOrigin_B1F_EventScript_AtSkyPillar
case 3, CaveOfOrigin_B1F_EventScript_DontRemember
goto CaveOfOrigin_B1F_EventScript_DontRemember
end
CaveOfOrigin_B1F_EventScript_23582C:: @ 823582C
message CaveOfOrigin_B1F_Text_235B23
CaveOfOrigin_B1F_EventScript_AtCaveOfOrigin:: @ 823582C
message CaveOfOrigin_B1F_Text_ButWereInCaveOfOrigin
waitmessage
goto CaveOfOrigin_B1F_EventScript_2357F0
goto CaveOfOrigin_B1F_EventScript_WheresRayquaza
CaveOfOrigin_B1F_EventScript_235837:: @ 8235837
message CaveOfOrigin_B1F_Text_235BBF
CaveOfOrigin_B1F_EventScript_AtMtPyre:: @ 8235837
message CaveOfOrigin_B1F_Text_OldLadyDidntMentionThat
waitmessage
goto CaveOfOrigin_B1F_EventScript_2357F0
goto CaveOfOrigin_B1F_EventScript_WheresRayquaza
CaveOfOrigin_B1F_EventScript_235842:: @ 8235842
message CaveOfOrigin_B1F_Text_235C99
CaveOfOrigin_B1F_EventScript_DontRemember:: @ 8235842
message CaveOfOrigin_B1F_Text_CantYouRememberSomehow
waitmessage
goto CaveOfOrigin_B1F_EventScript_2357F0
goto CaveOfOrigin_B1F_EventScript_WheresRayquaza
CaveOfOrigin_B1F_EventScript_23584D:: @ 823584D
msgbox CaveOfOrigin_B1F_Text_235CEE, MSGBOX_DEFAULT
CaveOfOrigin_B1F_EventScript_AtSkyPillar:: @ 823584D
msgbox CaveOfOrigin_B1F_Text_WellHeadToSkyPillar, MSGBOX_DEFAULT
closemessage
playse SE_KAIDAN
fadescreenspeed 1, 4
@@ -59,7 +59,7 @@ CaveOfOrigin_B1F_EventScript_23584D:: @ 823584D
release
end
CaveOfOrigin_B1F_Text_23586E: @ 823586E
CaveOfOrigin_B1F_Text_WallaceStory: @ 823586E
.string "Ah, so you are {PLAYER}{KUN}?\n"
.string "I've heard tales of your exploits.\p"
.string "My name is WALLACE.\p"
@@ -83,19 +83,19 @@ CaveOfOrigin_B1F_Text_23586E: @ 823586E
.string "But even I have no clue as to\n"
.string "RAYQUAZA's whereabouts…$"
CaveOfOrigin_B1F_Text_235ACE: @ 8235ACE
CaveOfOrigin_B1F_Text_WhereIsRayquaza: @ 8235ACE
.string "WALLACE: {PLAYER}{KUN}, do you perhaps\n"
.string "know where RAYQUAZA is now?\p"
.string "If you do, please tell me.$"
CaveOfOrigin_B1F_Text_235B23: @ 8235B23
CaveOfOrigin_B1F_Text_ButWereInCaveOfOrigin: @ 8235B23
.string "WALLACE: The CAVE OF ORIGIN?\p"
.string "But that's right here!\n"
.string "I need you to do better than that!\p"
.string "Please, I need you to think about\n"
.string "where RAYQUAZA might be right now.$"
CaveOfOrigin_B1F_Text_235BBF: @ 8235BBF
CaveOfOrigin_B1F_Text_OldLadyDidntMentionThat: @ 8235BBF
.string "WALLACE: MT. PYRE?\p"
.string "But when I met the old lady there\n"
.string "earlier, she made no mention of it.\p"
@@ -104,12 +104,12 @@ CaveOfOrigin_B1F_Text_235BBF: @ 8235BBF
.string "{PLAYER}{KUN}, could you think about this\n"
.string "more carefully for me?$"
CaveOfOrigin_B1F_Text_235C99: @ 8235C99
CaveOfOrigin_B1F_Text_CantYouRememberSomehow: @ 8235C99
.string "WALLACE: Huh? You don't remember?\n"
.string "Hmm… That's a problem…\p"
.string "Can't you remember somehow?$"
CaveOfOrigin_B1F_Text_235CEE: @ 8235CEE
CaveOfOrigin_B1F_Text_WellHeadToSkyPillar: @ 8235CEE
.string "WALLACE: The SKY PILLAR?\p"
.string "That's it!\n"
.string "It must be the SKY PILLAR!\p"

View File

@@ -1,8 +1,8 @@
CaveOfOrigin_Entrance_MapScripts:: @ 8235759
map_script MAP_SCRIPT_ON_RESUME, CaveOfOrigin_Entrance_MapScript1_23575F
map_script MAP_SCRIPT_ON_RESUME, CaveOfOrigin_Entrance_OnResume
.byte 0
CaveOfOrigin_Entrance_MapScript1_23575F: @ 823575F
CaveOfOrigin_Entrance_OnResume: @ 823575F
setescapewarp MAP_SOOTOPOLIS_CITY, 255, 31, 17
end

View File

@@ -3,5 +3,5 @@ CaveOfOrigin_UnusedRubySapphireMap1_MapScripts:: @ 8235778
.byte 0
CaveOfOrigin_UnusedRubySapphireMap1_OnTransition: @ 823577E
call_if_set FLAG_UNUSED_RS_LEGENDARY_BATTLE_DONE, CaveOfOrigin_UnusedRubySapphireMap1_EventScript_2722C1
call_if_set FLAG_UNUSED_RS_LEGENDARY_BATTLE_DONE, CaveOfOrigin_EventScript_SetTempVars
end

View File

@@ -3,6 +3,6 @@ CaveOfOrigin_UnusedRubySapphireMap2_MapScripts:: @ 8235788
.byte 0
CaveOfOrigin_UnusedRubySapphireMap2_OnTransition: @ 823578E
call_if_set FLAG_UNUSED_RS_LEGENDARY_BATTLE_DONE, CaveOfOrigin_UnusedRubySapphireMap2_EventScript_2722C1
call_if_set FLAG_UNUSED_RS_LEGENDARY_BATTLE_DONE, CaveOfOrigin_EventScript_SetTempVars
end

View File

@@ -3,6 +3,6 @@ CaveOfOrigin_UnusedRubySapphireMap3_MapScripts:: @ 8235798
.byte 0
CaveOfOrigin_UnusedRubySapphireMap3_OnTransition: @ 823579E
call_if_set FLAG_UNUSED_RS_LEGENDARY_BATTLE_DONE, CaveOfOrigin_UnusedRubySapphireMap3_EventScript_2722C1
call_if_set FLAG_UNUSED_RS_LEGENDARY_BATTLE_DONE, CaveOfOrigin_EventScript_SetTempVars
end

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "DesertRuins_EventScript_22DA02",
"script": "DesertRuins_EventScript_Regirock",
"flag": "FLAG_HIDE_REGIROCK"
}
],
@@ -59,7 +59,7 @@
"y": 20,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "DesertRuins_EventScript_22D9DB"
"script": "DesertRuins_EventScript_CaveEntranceMiddle"
},
{
"type": "sign",
@@ -67,7 +67,7 @@
"y": 20,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "DesertRuins_EventScript_22D9F8"
"script": "DesertRuins_EventScript_CaveEntranceSide"
},
{
"type": "sign",
@@ -75,7 +75,7 @@
"y": 20,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "DesertRuins_EventScript_22D9F8"
"script": "DesertRuins_EventScript_CaveEntranceSide"
}
]
}

View File

@@ -1,25 +1,25 @@
DesertRuins_MapScripts:: @ 822D95B
map_script MAP_SCRIPT_ON_RESUME, DesertRuins_MapScript1_22D96B
map_script MAP_SCRIPT_ON_LOAD, DesertRuins_MapScript1_22D989
map_script MAP_SCRIPT_ON_RESUME, DesertRuins_OnResume
map_script MAP_SCRIPT_ON_LOAD, DesertRuins_OnLoad
map_script MAP_SCRIPT_ON_TRANSITION, DesertRuins_OnTransition
.byte 0
DesertRuins_MapScript1_22D96B: @ 822D96B
call_if_set FLAG_SYS_CTRL_OBJ_DELETE, DesertRuins_EventScript_22D975
DesertRuins_OnResume: @ 822D96B
call_if_set FLAG_SYS_CTRL_OBJ_DELETE, DesertRuins_EventScript_TryRemoveRegirock
end
DesertRuins_EventScript_22D975:: @ 822D975
DesertRuins_EventScript_TryRemoveRegirock:: @ 822D975
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_CAUGHT
goto_if_ne Common_EventScript_NopReturn
removeobject VAR_LAST_TALKED
return
DesertRuins_MapScript1_22D989: @ 822D989
call_if_unset FLAG_SYS_REGIROCK_PUZZLE_COMPLETED, DesertRuins_EventScript_22D993
DesertRuins_OnLoad: @ 822D989
call_if_unset FLAG_SYS_REGIROCK_PUZZLE_COMPLETED, DesertRuins_EventScript_HideRegiEntrance
end
DesertRuins_EventScript_22D993:: @ 822D993
DesertRuins_EventScript_HideRegiEntrance:: @ 822D993
setmetatile 7, 19, METATILE_Cave_EntranceCover, 1
setmetatile 8, 19, METATILE_Cave_EntranceCover, 1
setmetatile 9, 19, METATILE_Cave_EntranceCover, 1
@@ -30,36 +30,36 @@ DesertRuins_EventScript_22D993:: @ 822D993
DesertRuins_OnTransition: @ 822D9CA
setflag FLAG_LANDMARK_DESERT_RUINS
call_if_unset FLAG_DEFEATED_REGIROCK, DesertRuins_EventScript_22D9D7
call_if_unset FLAG_DEFEATED_REGIROCK, DesertRuins_EventScript_ShowRegirock
end
DesertRuins_EventScript_22D9D7:: @ 822D9D7
DesertRuins_EventScript_ShowRegirock:: @ 822D9D7
clearflag FLAG_HIDE_REGIROCK
return
DesertRuins_EventScript_22D9DB:: @ 822D9DB
DesertRuins_EventScript_CaveEntranceMiddle:: @ 822D9DB
lockall
goto_if_set FLAG_SYS_REGIROCK_PUZZLE_COMPLETED, DesertRuins_EventScript_22D9EE
braillemessage DesertRuins_Braille_2A6CA0
goto_if_set FLAG_SYS_REGIROCK_PUZZLE_COMPLETED, DesertRuins_EventScript_BigHoleInWall
braillemessage DesertRuins_Braille_UseRockSmash
waitbuttonpress
hidebox2
closebraillemessage
releaseall
end
DesertRuins_EventScript_22D9EE:: @ 822D9EE
DesertRuins_EventScript_BigHoleInWall:: @ 822D9EE
msgbox gText_BigHoleInTheWall, MSGBOX_DEFAULT
releaseall
end
DesertRuins_EventScript_22D9F8:: @ 822D9F8
DesertRuins_EventScript_CaveEntranceSide:: @ 822D9F8
lockall
braillemessage DesertRuins_Braille_2A6CA0
braillemessage DesertRuins_Braille_UseRockSmash
waitbuttonpress
hidebox2
closebraillemessage
releaseall
end
DesertRuins_EventScript_22DA02:: @ 822DA02
DesertRuins_EventScript_Regirock:: @ 822DA02
lock
faceplayer
waitse
@@ -73,21 +73,21 @@ DesertRuins_EventScript_22DA02:: @ 822DA02
clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_WON
goto_if_eq DesertRuins_EventScript_22DA49
goto_if_eq DesertRuins_EventScript_DefeatedRegirock
compare VAR_RESULT, B_OUTCOME_RAN
goto_if_eq DesertRuins_EventScript_22DA52
goto_if_eq DesertRuins_EventScript_RanFromRegirock
compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED
goto_if_eq DesertRuins_EventScript_22DA52
goto_if_eq DesertRuins_EventScript_RanFromRegirock
setflag FLAG_DEFEATED_REGIROCK
release
end
DesertRuins_EventScript_22DA49:: @ 822DA49
DesertRuins_EventScript_DefeatedRegirock:: @ 822DA49
setflag FLAG_DEFEATED_REGIROCK
goto Common_EventScript_RemoveStaticPokemon
end
DesertRuins_EventScript_22DA52:: @ 822DA52
DesertRuins_EventScript_RanFromRegirock:: @ 822DA52
setvar VAR_0x8004, SPECIES_REGIROCK
goto Common_EventScript_LegendaryFlewAway
end

View File

@@ -42,7 +42,7 @@ DewfordTown_EventScript_1E957A:: @ 81E957A
DewfordTown_EventScript_1E9585:: @ 81E9585
msgbox DewfordTown_Text_1E9B24, MSGBOX_YESNO
compare VAR_RESULT, 1
compare VAR_RESULT, YES
goto_if_eq DewfordTown_EventScript_1E95A2
msgbox DewfordTown_Text_1E9BD9, MSGBOX_DEFAULT
release
@@ -75,9 +75,9 @@ DewfordTown_EventScript_1E95D5:: @ 81E95D5
faceplayer
goto_if_set FLAG_RECEIVED_OLD_ROD, DewfordTown_EventScript_1E962A
msgbox DewfordTown_Text_1E9DD1, MSGBOX_YESNO
compare VAR_RESULT, 1
compare VAR_RESULT, YES
goto_if_eq DewfordTown_EventScript_1E95FF
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq DewfordTown_EventScript_1E9620
end
@@ -115,7 +115,7 @@ DewfordTown_EventScript_1E9656:: @ 81E9656
end
DewfordTown_EventScript_1E9660:: @ 81E9660
call DewfordTown_EventScript_271E95
call EventScript_BackupMrBrineyLocation
setobjectpriority 2, MAP_DEWFORD_TOWN, 0
setobjectpriority EVENT_OBJ_ID_PLAYER, MAP_DEWFORD_TOWN, 0
applymovement 2, DewfordTown_Movement_1E991D
@@ -147,7 +147,7 @@ DewfordTown_EventScript_1E9660:: @ 81E9660
end
DewfordTown_EventScript_1E96E7:: @ 81E96E7
call DewfordTown_EventScript_271E95
call EventScript_BackupMrBrineyLocation
setobjectpriority 2, MAP_DEWFORD_TOWN, 0
setobjectpriority EVENT_OBJ_ID_PLAYER, MAP_DEWFORD_TOWN, 1
applymovement 2, DewfordTown_Movement_1E991D
@@ -169,7 +169,7 @@ DewfordTown_EventScript_1E96E7:: @ 81E96E7
setobjectpriority 2, MAP_ROUTE109, 0
applymovement 2, DewfordTown_Movement_1E991F
waitmovement 0
clearflag FLAG_HIDE_ROUTE_108_MR_BRINEY
clearflag FLAG_HIDE_ROUTE_109_MR_BRINEY
addobject 1
clearflag FLAG_HIDE_ROUTE_109_MR_BRINEY_BOAT
setflag FLAG_HIDE_MR_BRINEY_BOAT_DEWFORD_TOWN
@@ -185,11 +185,11 @@ DewfordTown_EventScript_1E96E7:: @ 81E96E7
end
DewfordTown_EventScript_1E9790:: @ 81E9790
msgbox DewfordTown_Text_1EEC1D, MSGBOX_DEFAULT
msgbox DewfordTown_Text_BrineyLandedInSlateportDeliverGoods, MSGBOX_DEFAULT
return
DewfordTown_EventScript_1E9799:: @ 81E9799
msgbox DewfordTown_Text_1EEDA7, MSGBOX_DEFAULT
msgbox DewfordTown_Text_BrineyLandedInSlateport, MSGBOX_DEFAULT
return
DewfordTown_Movement_1E97A2: @ 81E97A2
@@ -595,9 +595,9 @@ DewfordTown_EventScript_1E9922:: @ 81E9922
faceplayer
call DewfordTown_EventScript_271E8B
msgbox DewfordTown_Text_1EA136, MSGBOX_YESNO
compare VAR_RESULT, 1
compare VAR_RESULT, YES
goto_if_eq DewfordTown_EventScript_1E9948
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq DewfordTown_EventScript_1E9952
end
@@ -654,7 +654,7 @@ DewfordTown_Text_1E9A7F: @ 81E9A7F
.string "DEWFORD HALL\n"
.string "“Everyone's information exchange!”$"
Route104_Text_1E9AAF: @ 81E9AAF
Route104_Text_LandedInDewfordDeliverLetter: @ 81E9AAF
.string "MR. BRINEY: Ahoy!\n"
.string "We've hit land in DEWFORD.\p"
.string "I suppose you're off to deliver that\n"
@@ -675,8 +675,7 @@ DewfordTown_Text_1E9BD9: @ 81E9BD9
.string "MR. BRINEY: Then you go on and deliver\n"
.string "the LETTER. I'll be waiting.$"
Route104_Text_1E9C1D: @ 81E9C1D
Route109_Text_1E9C1D: @ 81E9C1D
DewfordTown_Text_BrineyLandedInDewford: @ 81E9C1D
.string "MR. BRINEY: Ahoy!\n"
.string "We've hit land in DEWFORD!\p"
.string "You just go on and tell me whenever\n"

View File

@@ -31,9 +31,9 @@ DewfordTown_Hall_EventScript_1FD50A:: @ 81FD50A
call DewfordTown_Hall_EventScript_271E8B
special sub_811EF6C
msgbox DewfordTown_Hall_Text_1FD948, MSGBOX_YESNO
compare VAR_RESULT, 1
compare VAR_RESULT, YES
goto_if_eq DewfordTown_Hall_EventScript_1FD533
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq DewfordTown_Hall_EventScript_1FD53D
end

View File

@@ -104,14 +104,14 @@
"x": 6,
"y": 17,
"elevation": 0,
"dest_map": "MAP_FALLARBOR_TOWN_HOUSE1",
"dest_map": "MAP_FALLARBOR_TOWN_COZMOS_HOUSE",
"dest_warp_id": 0
},
{
"x": 1,
"y": 6,
"elevation": 0,
"dest_map": "MAP_FALLARBOR_TOWN_HOUSE2",
"dest_map": "MAP_FALLARBOR_TOWN_MOVE_RELEARNERS_HOUSE",
"dest_warp_id": 0
}
],

View File

@@ -129,9 +129,9 @@ FallarborTown_BattleTentBattleRoom_EventScript_200A2A:: @ 8200A2A
FallarborTown_BattleTentBattleRoom_EventScript_200A78:: @ 8200A78
msgbox FallarborTown_BattleTentBattleRoom_Text_257E6B, MSGBOX_YESNO
switch VAR_RESULT
case 0, FallarborTown_BattleTentBattleRoom_EventScript_200A2A
case 1, FallarborTown_BattleTentBattleRoom_EventScript_200B51
case 127, FallarborTown_BattleTentBattleRoom_EventScript_200A2A
case NO, FallarborTown_BattleTentBattleRoom_EventScript_200A2A
case YES, FallarborTown_BattleTentBattleRoom_EventScript_200B51
case MULTI_B_PRESSED, FallarborTown_BattleTentBattleRoom_EventScript_200A2A
FallarborTown_BattleTentBattleRoom_EventScript_200AA6:: @ 8200AA6
message FallarborTown_BattleTentBattleRoom_Text_257E9E

View File

@@ -169,9 +169,9 @@ FallarborTown_BattleTentLobby_EventScript_20005D:: @ 820005D
goto_if_eq FallarborTown_BattleTentLobby_EventScript_2001C2
msgbox FallarborTown_BattleTentLobby_Text_2C4B35, MSGBOX_YESNO
switch VAR_RESULT
case 0, FallarborTown_BattleTentLobby_EventScript_2001C2
case 1, FallarborTown_BattleTentLobby_EventScript_2000E2
case 127, FallarborTown_BattleTentLobby_EventScript_2001C2
case NO, FallarborTown_BattleTentLobby_EventScript_2001C2
case YES, FallarborTown_BattleTentLobby_EventScript_2000E2
case MULTI_B_PRESSED, FallarborTown_BattleTentLobby_EventScript_2001C2
FallarborTown_BattleTentLobby_EventScript_2000E2:: @ 82000E2
setvar VAR_TEMP_0, 0

View File

@@ -1,6 +1,6 @@
{
"id": "MAP_FALLARBOR_TOWN_HOUSE1",
"name": "FallarborTown_House1",
"id": "MAP_FALLARBOR_TOWN_COZMOS_HOUSE",
"name": "FallarborTown_CozmosHouse",
"layout": "LAYOUT_HOUSE1",
"music": "MUS_TONEKUSA",
"region_map_section": "MAPSEC_FALLARBOR_TOWN",
@@ -24,8 +24,8 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FallarborTown_House1_EventScript_200F13",
"flag": "FLAG_HIDE_FALLARBOR_HOUSE_1_PROF_COZMO"
"script": "FallarborTown_CozmosHouse_EventScript_ProfCozmo",
"flag": "FLAG_HIDE_FALLARBOR_HOUSE_PROF_COZMO"
},
{
"graphics_id": "EVENT_OBJ_GFX_WOMAN_2",
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FallarborTown_House1_EventScript_200FBC",
"script": "FallarborTown_CozmosHouse_EventScript_CozmosWife",
"flag": "0"
}
],

View File

@@ -0,0 +1,121 @@
FallarborTown_CozmosHouse_MapScripts:: @ 8200F12
.byte 0
FallarborTown_CozmosHouse_EventScript_ProfCozmo:: @ 8200F13
lock
faceplayer
goto_if_set FLAG_RECEIVED_TM27, FallarborTown_CozmosHouse_EventScript_GaveMeteorite
checkitem ITEM_METEORITE, 1
compare VAR_RESULT, TRUE
goto_if_eq FallarborTown_CozmosHouse_EventScript_PlayerHasMeteorite
msgbox FallarborTown_CozmosHouse_Text_MeteoriteWillNeverBeMineNow, MSGBOX_DEFAULT
release
end
FallarborTown_CozmosHouse_EventScript_PlayerHasMeteorite:: @ 8200F38
call_if_unset FLAG_TEMP_2, FallarborTown_CozmosHouse_EventScript_NoticeMeteorite
call_if_set FLAG_TEMP_2, FallarborTown_CozmosHouse_EventScript_AskForMeteorite
compare VAR_RESULT, NO
goto_if_eq FallarborTown_CozmosHouse_EventScript_DeclineGiveMeteorite
msgbox FallarborTown_CozmosHouse_Text_PleaseUseThisTM, MSGBOX_DEFAULT
giveitem_std ITEM_TM27
compare VAR_RESULT, FALSE
goto_if_eq Common_EventScript_ShowBagIsFull
setvar VAR_0x8004, ITEM_METEORITE
call Common_EventScript_PlayerHandedOverTheItem
setflag FLAG_RECEIVED_TM27
msgbox FallarborTown_CozmosHouse_Text_ReallyGoingToHelpMyResearch, MSGBOX_DEFAULT
release
end
FallarborTown_CozmosHouse_EventScript_NoticeMeteorite:: @ 8200F8B
msgbox FallarborTown_CozmosHouse_Text_MeteoriteWillNeverBeMineNow, MSGBOX_DEFAULT
msgbox FallarborTown_CozmosHouse_Text_IsThatMeteoriteMayIHaveIt, MSGBOX_YESNO
return
FallarborTown_CozmosHouse_EventScript_AskForMeteorite:: @ 8200F9C
msgbox FallarborTown_CozmosHouse_Text_MayIHaveMeteorite, MSGBOX_YESNO
return
FallarborTown_CozmosHouse_EventScript_DeclineGiveMeteorite:: @ 8200FA5
setflag FLAG_TEMP_2
msgbox FallarborTown_CozmosHouse_Text_CrushedWithDisappointment, MSGBOX_DEFAULT
release
end
FallarborTown_CozmosHouse_EventScript_GaveMeteorite:: @ 8200FB2
msgbox FallarborTown_CozmosHouse_Text_ReallyGoingToHelpMyResearch, MSGBOX_DEFAULT
release
end
FallarborTown_CozmosHouse_EventScript_CozmosWife:: @ 8200FBC
lock
faceplayer
goto_if_set FLAG_RECEIVED_TM27, FallarborTown_CozmosHouse_EventScript_CozmoIsHappy
goto_if_set FLAG_DEFEATED_EVIL_TEAM_MT_CHIMNEY, FallarborTown_CozmosHouse_EventScript_CozmoIsSad
msgbox FallarborTown_CozmosHouse_Text_CozmoWentToMeteorFalls, MSGBOX_DEFAULT
release
end
FallarborTown_CozmosHouse_EventScript_CozmoIsSad:: @ 8200FDA
msgbox FallarborTown_CozmosHouse_Text_FeelSorryForCozmo, MSGBOX_DEFAULT
release
end
FallarborTown_CozmosHouse_EventScript_CozmoIsHappy:: @ 8200FE4
msgbox FallarborTown_CozmosHouse_Text_CozmoIsSoHappy, MSGBOX_DEFAULT
release
end
FallarborTown_CozmosHouse_Text_MeteoriteWillNeverBeMineNow: @ 8200FEE
.string "PROF. COZMO: Oh…\n"
.string "I never should have let myself be\l"
.string "conned into telling TEAM MAGMA where\l"
.string "you can find METEORITES…\p"
.string "That METEORITE from METEOR FALLS…\n"
.string "It's never going to be mine now…$"
FallarborTown_CozmosHouse_Text_IsThatMeteoriteMayIHaveIt: @ 82010A2
.string "Oh!\n"
.string "Hah?\p"
.string "That item…\p"
.string "Could it be?\p"
.string "Is it the METEORITE that TEAM MAGMA\n"
.string "took from METEOR FALLS?\p"
.string "Please, may I have it?\p"
.string "I'm not asking for it for free.\n"
.string "How about in exchange for this TM?$"
FallarborTown_CozmosHouse_Text_PleaseUseThisTM: @ 8201159
.string "PROF. COZMO: This TM, it represents\n"
.string "my feeling of gratitude.\l"
.string "Please use it!$"
FallarborTown_CozmosHouse_Text_ReallyGoingToHelpMyResearch: @ 82011A5
.string "PROF. COZMO: Oh, I can't believe it.\n"
.string "This is really, really great!\p"
.string "This is really going to help my research!$"
FallarborTown_CozmosHouse_Text_CrushedWithDisappointment: @ 8201212
.string "PROF. COZMO: Oh, but…\n"
.string "I'm crushed with disappointment…$"
FallarborTown_CozmosHouse_Text_MayIHaveMeteorite: @ 8201249
.string "PROF. COZMO: Please, may I have that\n"
.string "METEORITE?\p"
.string "I'm not asking for it for free.\n"
.string "How about in exchange for this TM?$"
FallarborTown_CozmosHouse_Text_CozmoWentToMeteorFalls: @ 82012BC
.string "PROF. COZMO went off to METEOR FALLS\n"
.string "on ROUTE 114 with some people from\l"
.string "TEAM MAGMA.$"
FallarborTown_CozmosHouse_Text_FeelSorryForCozmo: @ 8201310
.string "Poor PROF. COZMO…\n"
.string "He's so depressed… I feel sorry for him.$"
FallarborTown_CozmosHouse_Text_CozmoIsSoHappy: @ 820134B
.string "Look at PROF. COZMO…\n"
.string "He's so happy! I think it's cute.$"

View File

@@ -1,121 +0,0 @@
FallarborTown_House1_MapScripts:: @ 8200F12
.byte 0
FallarborTown_House1_EventScript_200F13:: @ 8200F13
lock
faceplayer
goto_if_set FLAG_RECEIVED_TM27, FallarborTown_House1_EventScript_200FB2
checkitem ITEM_METEORITE, 1
compare VAR_RESULT, 1
goto_if_eq FallarborTown_House1_EventScript_200F38
msgbox FallarborTown_House1_Text_200FEE, MSGBOX_DEFAULT
release
end
FallarborTown_House1_EventScript_200F38:: @ 8200F38
call_if_unset FLAG_TEMP_2, FallarborTown_House1_EventScript_200F8B
call_if_set FLAG_TEMP_2, FallarborTown_House1_EventScript_200F9C
compare VAR_RESULT, 0
goto_if_eq FallarborTown_House1_EventScript_200FA5
msgbox FallarborTown_House1_Text_201159, MSGBOX_DEFAULT
giveitem_std ITEM_TM27
compare VAR_RESULT, 0
goto_if_eq Common_EventScript_ShowBagIsFull
setvar VAR_0x8004, ITEM_METEORITE
call Common_EventScript_PlayerHandedOverTheItem
setflag FLAG_RECEIVED_TM27
msgbox FallarborTown_House1_Text_2011A5, MSGBOX_DEFAULT
release
end
FallarborTown_House1_EventScript_200F8B:: @ 8200F8B
msgbox FallarborTown_House1_Text_200FEE, MSGBOX_DEFAULT
msgbox FallarborTown_House1_Text_2010A2, MSGBOX_YESNO
return
FallarborTown_House1_EventScript_200F9C:: @ 8200F9C
msgbox FallarborTown_House1_Text_201249, MSGBOX_YESNO
return
FallarborTown_House1_EventScript_200FA5:: @ 8200FA5
setflag FLAG_TEMP_2
msgbox FallarborTown_House1_Text_201212, MSGBOX_DEFAULT
release
end
FallarborTown_House1_EventScript_200FB2:: @ 8200FB2
msgbox FallarborTown_House1_Text_2011A5, MSGBOX_DEFAULT
release
end
FallarborTown_House1_EventScript_200FBC:: @ 8200FBC
lock
faceplayer
goto_if_set FLAG_RECEIVED_TM27, FallarborTown_House1_EventScript_200FE4
goto_if_set FLAG_DEFEATED_EVIL_TEAM_MT_CHIMNEY, FallarborTown_House1_EventScript_200FDA
msgbox FallarborTown_House1_Text_2012BC, MSGBOX_DEFAULT
release
end
FallarborTown_House1_EventScript_200FDA:: @ 8200FDA
msgbox FallarborTown_House1_Text_201310, MSGBOX_DEFAULT
release
end
FallarborTown_House1_EventScript_200FE4:: @ 8200FE4
msgbox FallarborTown_House1_Text_20134B, MSGBOX_DEFAULT
release
end
FallarborTown_House1_Text_200FEE: @ 8200FEE
.string "PROF. COZMO: Oh…\n"
.string "I never should have let myself be\l"
.string "conned into telling TEAM MAGMA where\l"
.string "you can find METEORITES…\p"
.string "That METEORITE from METEOR FALLS…\n"
.string "It's never going to be mine now…$"
FallarborTown_House1_Text_2010A2: @ 82010A2
.string "Oh!\n"
.string "Hah?\p"
.string "That item…\p"
.string "Could it be?\p"
.string "Is it the METEORITE that TEAM MAGMA\n"
.string "took from METEOR FALLS?\p"
.string "Please, may I have it?\p"
.string "I'm not asking for it for free.\n"
.string "How about in exchange for this TM?$"
FallarborTown_House1_Text_201159: @ 8201159
.string "PROF. COZMO: This TM, it represents\n"
.string "my feeling of gratitude.\l"
.string "Please use it!$"
FallarborTown_House1_Text_2011A5: @ 82011A5
.string "PROF. COZMO: Oh, I can't believe it.\n"
.string "This is really, really great!\p"
.string "This is really going to help my research!$"
FallarborTown_House1_Text_201212: @ 8201212
.string "PROF. COZMO: Oh, but…\n"
.string "I'm crushed with disappointment…$"
FallarborTown_House1_Text_201249: @ 8201249
.string "PROF. COZMO: Please, may I have that\n"
.string "METEORITE?\p"
.string "I'm not asking for it for free.\n"
.string "How about in exchange for this TM?$"
FallarborTown_House1_Text_2012BC: @ 82012BC
.string "PROF. COZMO went off to METEOR FALLS\n"
.string "on ROUTE 114 with some people from\l"
.string "TEAM MAGMA.$"
FallarborTown_House1_Text_201310: @ 8201310
.string "Poor PROF. COZMO…\n"
.string "He's so depressed… I feel sorry for him.$"
FallarborTown_House1_Text_20134B: @ 820134B
.string "Look at PROF. COZMO…\n"
.string "He's so happy! I think it's cute.$"

View File

@@ -1,102 +0,0 @@
FallarborTown_House2_MapScripts:: @ 8201382
.byte 0
FallarborTown_House2_EventScript_201383:: @ 8201383
lockall
applymovement 1, Common_Movement_FacePlayer
waitmovement 0
goto_if_set FLAG_TEMP_1, FallarborTown_House2_EventScript_2013A8
msgbox FallarborTown_House2_Text_20145C, MSGBOX_DEFAULT
setflag FLAG_TEMP_1
goto FallarborTown_House2_EventScript_2013A8
end
FallarborTown_House2_EventScript_2013A8:: @ 82013A8
checkitem ITEM_HEART_SCALE, 1
compare VAR_RESULT, 0
goto_if_eq FallarborTown_House2_EventScript_201452
msgbox FallarborTown_House2_Text_201541, MSGBOX_YESNO
switch VAR_RESULT
case 0, FallarborTown_House2_EventScript_201452
goto FallarborTown_House2_EventScript_2013D6
end
FallarborTown_House2_EventScript_2013D6:: @ 82013D6
msgbox FallarborTown_House2_Text_2015A5, MSGBOX_DEFAULT
special sub_81B951C
waitstate
compare VAR_0x8004, 255
goto_if_eq FallarborTown_House2_EventScript_201452
special sub_81B98DC
compare VAR_RESULT, 1
goto_if_eq FallarborTown_House2_EventScript_201444
compare VAR_0x8005, 0
goto_if_eq FallarborTown_House2_EventScript_201436
goto FallarborTown_House2_EventScript_20140C
end
FallarborTown_House2_EventScript_20140C:: @ 820140C
msgbox FallarborTown_House2_Text_2015C3, MSGBOX_DEFAULT
special TeachMoveRelearnerMove
waitstate
compare VAR_0x8004, 0
goto_if_eq FallarborTown_House2_EventScript_2013D6
msgbox FallarborTown_House2_Text_201627, MSGBOX_DEFAULT
takeitem ITEM_HEART_SCALE, 1
goto FallarborTown_House2_EventScript_201452
end
FallarborTown_House2_EventScript_201436:: @ 8201436
msgbox FallarborTown_House2_Text_2015DE, MSGBOX_DEFAULT
goto FallarborTown_House2_EventScript_2013D6
end
FallarborTown_House2_EventScript_201444:: @ 8201444
msgbox FallarborTown_House2_Text_201697, MSGBOX_DEFAULT
goto FallarborTown_House2_EventScript_2013D6
end
FallarborTown_House2_EventScript_201452:: @ 8201452
msgbox FallarborTown_House2_Text_201653, MSGBOX_DEFAULT
releaseall
end
FallarborTown_House2_Text_20145C: @ 820145C
.string "I'm the MOVE TUTOR.\p"
.string "I know all the moves that POKéMON\n"
.string "learn--every one of them--and I can\l"
.string "teach POKéMON those moves.\p"
.string "I can teach a move to a POKéMON\n"
.string "of yours if you'd like.\p"
.string "I'll do it for a HEART SCALE.\n"
.string "I'm collecting those now.$"
FallarborTown_House2_Text_201541: @ 8201541
.string "Oh! That's it! That's an honest to\n"
.string "goodness HEART SCALE!\p"
.string "Let me guess, you want me to teach\n"
.string "a move?$"
FallarborTown_House2_Text_2015A5: @ 82015A5
.string "Which POKéMON needs tutoring?$"
FallarborTown_House2_Text_2015C3: @ 82015C3
.string "Which move should I teach?$"
FallarborTown_House2_Text_2015DE: @ 82015DE
.string "Sorry…\p"
.string "It doesn't appear as if I have any move\n"
.string "I can teach that POKéMON.$"
FallarborTown_House2_Text_201627: @ 8201627
.string "{PLAYER} handed over one HEART SCALE\n"
.string "in exchange.$"
FallarborTown_House2_Text_201653: @ 8201653
.string "If your POKéMON need to learn a move,\n"
.string "come back with a HEART SCALE.$"
FallarborTown_House2_Text_201697: @ 8201697
.string "Hunh? There isn't a single move that\n"
.string "I can teach an EGG.$"

View File

@@ -1,6 +1,6 @@
{
"id": "MAP_FALLARBOR_TOWN_HOUSE2",
"name": "FallarborTown_House2",
"id": "MAP_FALLARBOR_TOWN_MOVE_RELEARNERS_HOUSE",
"name": "FallarborTown_MoveRelearnersHouse",
"layout": "LAYOUT_HOUSE2",
"music": "MUS_TONEKUSA",
"region_map_section": "MAPSEC_FALLARBOR_TOWN",
@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FallarborTown_House2_EventScript_201383",
"script": "FallarborTown_MoveRelearnersHouse_EventScript_MoveRelearner",
"flag": "0"
}
],

View File

@@ -0,0 +1,102 @@
FallarborTown_MoveRelearnersHouse_MapScripts:: @ 8201382
.byte 0
FallarborTown_MoveRelearnersHouse_EventScript_MoveRelearner:: @ 8201383
lockall
applymovement 1, Common_Movement_FacePlayer
waitmovement 0
goto_if_set FLAG_TEMP_1, FallarborTown_MoveRelearnersHouse_EventScript_AskTeachMove
msgbox FallarborTown_MoveRelearnersHouse_Text_ImTheMoveTutor, MSGBOX_DEFAULT
setflag FLAG_TEMP_1
goto FallarborTown_MoveRelearnersHouse_EventScript_AskTeachMove
end
FallarborTown_MoveRelearnersHouse_EventScript_AskTeachMove:: @ 82013A8
checkitem ITEM_HEART_SCALE, 1
compare VAR_RESULT, 0
goto_if_eq FallarborTown_MoveRelearnersHouse_EventScript_ComeBackWithHeartScale
msgbox FallarborTown_MoveRelearnersHouse_Text_ThatsAHeartScaleWantMeToTeachMove, MSGBOX_YESNO
switch VAR_RESULT
case NO, FallarborTown_MoveRelearnersHouse_EventScript_ComeBackWithHeartScale
goto FallarborTown_MoveRelearnersHouse_EventScript_ChooseMon
end
FallarborTown_MoveRelearnersHouse_EventScript_ChooseMon:: @ 82013D6
msgbox FallarborTown_MoveRelearnersHouse_Text_TutorWhichMon, MSGBOX_DEFAULT
special ChooseMonForMoveRelearner
waitstate
compare VAR_0x8004, 255
goto_if_eq FallarborTown_MoveRelearnersHouse_EventScript_ComeBackWithHeartScale
special IsSelectedMonEgg
compare VAR_RESULT, TRUE
goto_if_eq FallarborTown_MoveRelearnersHouse_EventScript_CantTeachEgg
compare VAR_0x8005, 0
goto_if_eq FallarborTown_MoveRelearnersHouse_EventScript_NoMoveToTeachMon
goto FallarborTown_MoveRelearnersHouse_EventScript_ChooseMove
end
FallarborTown_MoveRelearnersHouse_EventScript_ChooseMove:: @ 820140C
msgbox FallarborTown_MoveRelearnersHouse_Text_TeachWhichMove, MSGBOX_DEFAULT
special TeachMoveRelearnerMove
waitstate
compare VAR_0x8004, 0
goto_if_eq FallarborTown_MoveRelearnersHouse_EventScript_ChooseMon
msgbox FallarborTown_MoveRelearnersHouse_Text_HandedOverHeartScale, MSGBOX_DEFAULT
takeitem ITEM_HEART_SCALE, 1
goto FallarborTown_MoveRelearnersHouse_EventScript_ComeBackWithHeartScale
end
FallarborTown_MoveRelearnersHouse_EventScript_NoMoveToTeachMon:: @ 8201436
msgbox FallarborTown_MoveRelearnersHouse_Text_DontHaveMoveToTeachPokemon, MSGBOX_DEFAULT
goto FallarborTown_MoveRelearnersHouse_EventScript_ChooseMon
end
FallarborTown_MoveRelearnersHouse_EventScript_CantTeachEgg:: @ 8201444
msgbox FallarborTown_MoveRelearnersHouse_Text_CantTeachEgg, MSGBOX_DEFAULT
goto FallarborTown_MoveRelearnersHouse_EventScript_ChooseMon
end
FallarborTown_MoveRelearnersHouse_EventScript_ComeBackWithHeartScale:: @ 8201452
msgbox FallarborTown_MoveRelearnersHouse_Text_ComeBackWithHeartScale, MSGBOX_DEFAULT
releaseall
end
FallarborTown_MoveRelearnersHouse_Text_ImTheMoveTutor: @ 820145C
.string "I'm the MOVE TUTOR.\p"
.string "I know all the moves that POKéMON\n"
.string "learn--every one of them--and I can\l"
.string "teach POKéMON those moves.\p"
.string "I can teach a move to a POKéMON\n"
.string "of yours if you'd like.\p"
.string "I'll do it for a HEART SCALE.\n"
.string "I'm collecting those now.$"
FallarborTown_MoveRelearnersHouse_Text_ThatsAHeartScaleWantMeToTeachMove: @ 8201541
.string "Oh! That's it! That's an honest to\n"
.string "goodness HEART SCALE!\p"
.string "Let me guess, you want me to teach\n"
.string "a move?$"
FallarborTown_MoveRelearnersHouse_Text_TutorWhichMon: @ 82015A5
.string "Which POKéMON needs tutoring?$"
FallarborTown_MoveRelearnersHouse_Text_TeachWhichMove: @ 82015C3
.string "Which move should I teach?$"
FallarborTown_MoveRelearnersHouse_Text_DontHaveMoveToTeachPokemon: @ 82015DE
.string "Sorry…\p"
.string "It doesn't appear as if I have any move\n"
.string "I can teach that POKéMON.$"
FallarborTown_MoveRelearnersHouse_Text_HandedOverHeartScale: @ 8201627
.string "{PLAYER} handed over one HEART SCALE\n"
.string "in exchange.$"
FallarborTown_MoveRelearnersHouse_Text_ComeBackWithHeartScale: @ 8201653
.string "If your POKéMON need to learn a move,\n"
.string "come back with a HEART SCALE.$"
FallarborTown_MoveRelearnersHouse_Text_CantTeachEgg: @ 8201697
.string "Hunh? There isn't a single move that\n"
.string "I can teach an EGG.$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FarawayIsland_Entrance_EventScript_267CA2",
"script": "FarawayIsland_Entrance_EventScript_Sailor",
"flag": "0"
},
{
@@ -65,7 +65,7 @@
"elevation": 3,
"var": "0",
"var_value": "0",
"script": "FarawayIsland_Entrance_EventScript_267C98"
"script": "FarawayIsland_Entrance_EventScript_SetCloudsWeather"
},
{
"type": "trigger",
@@ -74,7 +74,7 @@
"elevation": 3,
"var": "0",
"var_value": "0",
"script": "FarawayIsland_Entrance_EventScript_267C9D"
"script": "FarawayIsland_Entrance_EventScript_ClearWeather"
},
{
"type": "trigger",
@@ -83,7 +83,7 @@
"elevation": 3,
"var": "0",
"var_value": "0",
"script": "FarawayIsland_Entrance_EventScript_267C98"
"script": "FarawayIsland_Entrance_EventScript_SetCloudsWeather"
}
],
"bg_events": [
@@ -93,7 +93,7 @@
"y": 32,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "FarawayIsland_Entrance_EventScript_267CF1"
"script": "FarawayIsland_Entrance_EventScript_Sign"
}
]
}

View File

@@ -6,22 +6,22 @@ FarawayIsland_Entrance_OnTransition: @ 8267C94
setflag FLAG_ARRIVED_ON_FARAWAY_ISLAND
end
FarawayIsland_Entrance_EventScript_267C98:: @ 8267C98
FarawayIsland_Entrance_EventScript_SetCloudsWeather:: @ 8267C98
setweather WEATHER_CLOUDS
doweather
end
FarawayIsland_Entrance_EventScript_267C9D:: @ 8267C9D
FarawayIsland_Entrance_EventScript_ClearWeather:: @ 8267C9D
setweather WEATHER_NONE
doweather
end
FarawayIsland_Entrance_EventScript_267CA2:: @ 8267CA2
FarawayIsland_Entrance_EventScript_Sailor:: @ 8267CA2
lock
faceplayer
msgbox FarawayIsland_Entrance_Text_SailorReturn, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_if_eq FarawayIsland_Entrance_EventScript_267CE7
compare VAR_RESULT, NO
goto_if_eq FarawayIsland_Entrance_EventScript_AsYouLike
msgbox EventTicket_Text_SailHome, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, Common_Movement_WalkInPlaceFastestDown
@@ -29,18 +29,18 @@ FarawayIsland_Entrance_EventScript_267CA2:: @ 8267CA2
delay 30
hideobjectat 1, MAP_FARAWAY_ISLAND_ENTRANCE
setvar VAR_0x8004, 2
call FarawayIsland_Entrance_EventScript_272250
call Common_EventScript_FerryDepartIsland
warp MAP_LILYCOVE_CITY_HARBOR, 255, 8, 11
waitstate
release
end
FarawayIsland_Entrance_EventScript_267CE7:: @ 8267CE7
FarawayIsland_Entrance_EventScript_AsYouLike:: @ 8267CE7
msgbox EventTicket_Text_AsYouLike, MSGBOX_DEFAULT
release
end
FarawayIsland_Entrance_EventScript_267CF1:: @ 8267CF1
FarawayIsland_Entrance_EventScript_Sign:: @ 8267CF1
msgbox FarawayIsland_Entrance_Text_Sign, MSGBOX_SIGN
end

View File

@@ -24,7 +24,7 @@
"movement_range_y": 15,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "1",
"script": "FarawayIsland_Interior_EventScript_267DF2",
"script": "FarawayIsland_Interior_EventScript_Mew",
"flag": "FLAG_HIDE_MEW"
}
],

View File

@@ -1,11 +1,11 @@
FarawayIsland_Interior_MapScripts:: @ 8267CFA
map_script MAP_SCRIPT_ON_RESUME, FarawayIsland_Interior_MapScript1_267D54
map_script MAP_SCRIPT_ON_RESUME, FarawayIsland_Interior_OnResume
map_script MAP_SCRIPT_ON_TRANSITION, FarawayIsland_Interior_OnTransition
map_script MAP_SCRIPT_ON_FRAME_TABLE, FarawayIsland_Interior_MapScript2_267D98
map_script MAP_SCRIPT_ON_RETURN_TO_FIELD, FarawayIsland_Interior_MapScript1_267D0F
map_script MAP_SCRIPT_ON_FRAME_TABLE, FarawayIsland_Interior_OnFrame
map_script MAP_SCRIPT_ON_RETURN_TO_FIELD, FarawayIsland_Interior_OnReturnToField
.byte 0
FarawayIsland_Interior_MapScript1_267D0F: @ 8267D0F
FarawayIsland_Interior_OnReturnToField: @ 8267D0F
call_if_set FLAG_SYS_CTRL_OBJ_DELETE, FarawayIsland_Interior_EventScript_267D19
end
@@ -26,11 +26,11 @@ FarawayIsland_Interior_EventScript_267D4B:: @ 8267D4B
special sub_81D4A90
return
FarawayIsland_Interior_MapScript1_267D54: @ 8267D54
call_if_set FLAG_SYS_CTRL_OBJ_DELETE, FarawayIsland_Interior_EventScript_267D5E
FarawayIsland_Interior_OnResume: @ 8267D54
call_if_set FLAG_SYS_CTRL_OBJ_DELETE, FarawayIsland_Interior_EventScript_TryRemoveMew
end
FarawayIsland_Interior_EventScript_267D5E:: @ 8267D5E
FarawayIsland_Interior_EventScript_TryRemoveMew:: @ 8267D5E
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_CAUGHT
goto_if_ne Common_EventScript_NopReturn
@@ -40,34 +40,34 @@ FarawayIsland_Interior_EventScript_267D5E:: @ 8267D5E
FarawayIsland_Interior_OnTransition: @ 8267D72
setvar VAR_FARAWAY_ISLAND_STEP_COUNTER, 0
setvar VAR_TEMP_1, 1
call_if_unset FLAG_CAUGHT_MEW, FarawayIsland_Interior_EventScript_267D86
call_if_unset FLAG_CAUGHT_MEW, FarawayIsland_Interior_EventScript_TryShowMew
end
FarawayIsland_Interior_EventScript_267D86:: @ 8267D86
FarawayIsland_Interior_EventScript_TryShowMew:: @ 8267D86
goto_if_set FLAG_DEFEATED_MEW, Common_EventScript_NopReturn
clearflag FLAG_HIDE_MEW
setvar VAR_TEMP_1, 0
return
FarawayIsland_Interior_MapScript2_267D98: @ 8267D98
map_script_2 VAR_TEMP_1, 0, FarawayIsland_Interior_EventScript_267DA2
FarawayIsland_Interior_OnFrame: @ 8267D98
map_script_2 VAR_TEMP_1, 0, FarawayIsland_Interior_EventScript_FindMew
.2byte 0
FarawayIsland_Interior_EventScript_267DA2:: @ 8267DA2
FarawayIsland_Interior_EventScript_FindMew:: @ 8267DA2
lockall
playse SE_PIN
applymovement 1, Common_Movement_ExclamationMark
waitmovement 0
applymovement 1, Common_Movement_Delay48
waitmovement 0
applymovement 1, FarawayIsland_Interior_Movement_267DCE
applymovement 1, FarawayIsland_Interior_Movement_MewMoveAndHide
waitmovement 0
copyobjectxytoperm 1
setvar VAR_TEMP_1, 1
releaseall
end
FarawayIsland_Interior_Movement_267DCE: @ 8267DCE
FarawayIsland_Interior_Movement_MewMoveAndHide: @ 8267DCE
walk_up
walk_up
walk_up
@@ -75,11 +75,11 @@ FarawayIsland_Interior_Movement_267DCE: @ 8267DCE
set_invisible
step_end
FarawayIsland_Interior_Movement_267DD4: @ 8267DD4
FarawayIsland_Interior_Movement_MewAppear: @ 8267DD4
set_visible
step_end
FarawayIsland_Interior_Movement_267DD6: @ 8267DD6
FarawayIsland_Interior_Movement_MewHideDown: @ 8267DD6
lock_facing_direction
walk_fast_up
walk_fast_up
@@ -88,7 +88,7 @@ FarawayIsland_Interior_Movement_267DD6: @ 8267DD6
walk_in_place_down
step_end
FarawayIsland_Interior_Movement_267DDD: @ 8267DDD
FarawayIsland_Interior_Movement_MewHideUp: @ 8267DDD
lock_facing_direction
walk_fast_up
walk_fast_up
@@ -97,7 +97,7 @@ FarawayIsland_Interior_Movement_267DDD: @ 8267DDD
walk_in_place_up
step_end
FarawayIsland_Interior_Movement_267DE4: @ 8267DE4
FarawayIsland_Interior_Movement_MewHideRight: @ 8267DE4
lock_facing_direction
walk_fast_up
walk_fast_up
@@ -106,7 +106,7 @@ FarawayIsland_Interior_Movement_267DE4: @ 8267DE4
walk_in_place_right
step_end
FarawayIsland_Interior_Movement_267DEB: @ 8267DEB
FarawayIsland_Interior_Movement_MewHideLeft: @ 8267DEB
lock_facing_direction
walk_fast_up
walk_fast_up
@@ -115,10 +115,10 @@ FarawayIsland_Interior_Movement_267DEB: @ 8267DEB
walk_in_place_left
step_end
FarawayIsland_Interior_EventScript_267DF2:: @ 8267DF2
FarawayIsland_Interior_EventScript_Mew:: @ 8267DF2
lock
faceplayer
applymovement 1, FarawayIsland_Interior_Movement_267DD4
applymovement 1, FarawayIsland_Interior_Movement_MewAppear
waitmovement 0
setvar VAR_0x8004, 0
special sub_81D4A90
@@ -126,18 +126,18 @@ FarawayIsland_Interior_EventScript_267DF2:: @ 8267DF2
waitse
playmoncry SPECIES_MEW, 2
compare VAR_FACING, DIR_NORTH
call_if_eq FarawayIsland_Interior_EventScript_267EAF
call_if_eq FarawayIsland_Interior_EventScript_MewHideDown
compare VAR_FACING, DIR_SOUTH
call_if_eq FarawayIsland_Interior_EventScript_267EBA
call_if_eq FarawayIsland_Interior_EventScript_MewHideUp
compare VAR_FACING, DIR_WEST
call_if_eq FarawayIsland_Interior_EventScript_267EC5
call_if_eq FarawayIsland_Interior_EventScript_MewHideRight
compare VAR_FACING, DIR_EAST
call_if_eq FarawayIsland_Interior_EventScript_267ED0
call_if_eq FarawayIsland_Interior_EventScript_MewHideLeft
special sub_81D4BEC
delay 40
waitmoncry
setvar VAR_0x8004, SPECIES_MEW
setvar VAR_0x8005, 30 @level
setvar VAR_0x8005, 30 @ level
setvar VAR_0x8006, ITEM_NONE
special CreateObedientEnemyMon
setflag FLAG_SYS_CTRL_OBJ_DELETE
@@ -146,58 +146,58 @@ FarawayIsland_Interior_EventScript_267DF2:: @ 8267DF2
clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_WON
goto_if_eq FarawayIsland_Interior_EventScript_267E96
goto_if_eq FarawayIsland_Interior_EventScript_MewDefeated
compare VAR_RESULT, B_OUTCOME_RAN
goto_if_eq FarawayIsland_Interior_EventScript_267EA4
goto_if_eq FarawayIsland_Interior_EventScript_PlayerOrMewRan
compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED
goto_if_eq FarawayIsland_Interior_EventScript_267EA4
goto_if_eq FarawayIsland_Interior_EventScript_PlayerOrMewRan
compare VAR_RESULT, B_OUTCOME_MON_TELEPORTED
goto_if_eq FarawayIsland_Interior_EventScript_267EA4
goto_if_eq FarawayIsland_Interior_EventScript_PlayerOrMewRan
setflag FLAG_CAUGHT_MEW
release
end
FarawayIsland_Interior_EventScript_267E96:: @ 8267E96
FarawayIsland_Interior_EventScript_MewDefeated:: @ 8267E96
setflag FLAG_DEFEATED_MEW
setvar VAR_0x8004, SPECIES_MEW
goto Common_EventScript_LegendaryFlewAway
end
FarawayIsland_Interior_EventScript_267EA4:: @ 8267EA4
FarawayIsland_Interior_EventScript_PlayerOrMewRan:: @ 8267EA4
setvar VAR_0x8004, SPECIES_MEW
goto Common_EventScript_LegendaryFlewAway
end
FarawayIsland_Interior_EventScript_267EAF:: @ 8267EAF
applymovement 1, FarawayIsland_Interior_Movement_267DD6
FarawayIsland_Interior_EventScript_MewHideDown:: @ 8267EAF
applymovement 1, FarawayIsland_Interior_Movement_MewHideDown
waitmovement 0
return
FarawayIsland_Interior_EventScript_267EBA:: @ 8267EBA
applymovement 1, FarawayIsland_Interior_Movement_267DDD
FarawayIsland_Interior_EventScript_MewHideUp:: @ 8267EBA
applymovement 1, FarawayIsland_Interior_Movement_MewHideUp
waitmovement 0
return
FarawayIsland_Interior_EventScript_267EC5:: @ 8267EC5
applymovement 1, FarawayIsland_Interior_Movement_267DE4
FarawayIsland_Interior_EventScript_MewHideRight:: @ 8267EC5
applymovement 1, FarawayIsland_Interior_Movement_MewHideRight
waitmovement 0
return
FarawayIsland_Interior_EventScript_267ED0:: @ 8267ED0
applymovement 1, FarawayIsland_Interior_Movement_267DEB
FarawayIsland_Interior_EventScript_MewHideLeft:: @ 8267ED0
applymovement 1, FarawayIsland_Interior_Movement_MewHideLeft
waitmovement 0
return
FarawayIsland_Interior_EventScript_267EDB:: @ 8267EDB
FarawayIsland_Interior_EventScript_HideMewWhenGrassCut:: @ 8267EDB
lockall
fadescreenswapbuffers 1
setflag FLAG_HIDE_MEW
removeobject 1
fadescreenswapbuffers 0
msgbox FarawayIsland_Interior_Text_267EF1, MSGBOX_DEFAULT
msgbox FarawayIsland_Interior_Text_TheFeelingOfBeingWatchedFaded, MSGBOX_DEFAULT
closemessage
releaseall
end
FarawayIsland_Interior_Text_267EF1: @ 8267EF1
FarawayIsland_Interior_Text_TheFeelingOfBeingWatchedFaded: @ 8267EF1
.string "The feeling of being watched faded…$"

View File

@@ -64,7 +64,7 @@ FortreeCity_EventScript_1E2614:: @ 81E2614
FortreeCity_EventScript_1E2630:: @ 81E2630
msgbox FortreeCity_Text_1E2A08, MSGBOX_YESNO
compare VAR_RESULT, 1
compare VAR_RESULT, YES
goto_if_eq FortreeCity_EventScript_1E2645
release
end

View File

@@ -10,9 +10,9 @@ FortreeCity_House1_EventScript_2162BB:: @ 82162BB
specialvar VAR_RESULT, GetInGameTradeSpeciesInfo
copyvar VAR_0x8009, VAR_RESULT
msgbox FortreeCity_House1_Text_21637B, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq FortreeCity_House1_EventScript_21633D
special sub_81B94B0
special ChoosePartyMon
waitstate
copyvar VAR_0x800A, VAR_0x8004
compare VAR_0x8004, 255

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "IslandCave_EventScript_238F58",
"script": "IslandCave_EventScript_Regice",
"flag": "FLAG_HIDE_REGICE"
}
],
@@ -59,7 +59,7 @@
"y": 20,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "IslandCave_EventScript_238EEF"
"script": "IslandCave_EventScript_CaveEntranceMiddle"
},
{
"type": "sign",
@@ -67,7 +67,7 @@
"y": 20,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "IslandCave_EventScript_238F1D"
"script": "IslandCave_EventScript_CaveEntranceSide"
},
{
"type": "sign",
@@ -75,7 +75,7 @@
"y": 20,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "IslandCave_EventScript_238F1D"
"script": "IslandCave_EventScript_CaveEntranceSide"
}
]
}

View File

@@ -1,25 +1,25 @@
IslandCave_MapScripts:: @ 8238E2A
map_script MAP_SCRIPT_ON_RESUME, IslandCave_MapScript1_238E3A
map_script MAP_SCRIPT_ON_LOAD, IslandCave_MapScript1_238E58
map_script MAP_SCRIPT_ON_RESUME, IslandCave_OnResume
map_script MAP_SCRIPT_ON_LOAD, IslandCave_OnLoad
map_script MAP_SCRIPT_ON_TRANSITION, IslandCave_OnTransition
.byte 0
IslandCave_MapScript1_238E3A: @ 8238E3A
call_if_set FLAG_SYS_CTRL_OBJ_DELETE, IslandCave_EventScript_238E44
IslandCave_OnResume: @ 8238E3A
call_if_set FLAG_SYS_CTRL_OBJ_DELETE, IslandCave_EventScript_TryRemoveRegice
end
IslandCave_EventScript_238E44:: @ 8238E44
IslandCave_EventScript_TryRemoveRegice:: @ 8238E44
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_CAUGHT
goto_if_ne Common_EventScript_NopReturn
removeobject VAR_LAST_TALKED
return
IslandCave_MapScript1_238E58: @ 8238E58
call_if_unset FLAG_SYS_BRAILLE_REGICE_COMPLETED, IslandCave_EventScript_238E62
IslandCave_OnLoad: @ 8238E58
call_if_unset FLAG_SYS_BRAILLE_REGICE_COMPLETED, IslandCave_EventScript_HideRegiEntrance
end
IslandCave_EventScript_238E62:: @ 8238E62
IslandCave_EventScript_HideRegiEntrance:: @ 8238E62
setmetatile 7, 19, METATILE_Cave_EntranceCover, 1
setmetatile 8, 19, METATILE_Cave_EntranceCover, 1
setmetatile 9, 19, METATILE_Cave_EntranceCover, 1
@@ -30,15 +30,15 @@ IslandCave_EventScript_238E62:: @ 8238E62
IslandCave_OnTransition: @ 8238E99
setflag FLAG_LANDMARK_ISLAND_CAVE
call IslandCave_EventScript_238F45
call_if_unset FLAG_DEFEATED_REGICE, IslandCave_EventScript_238EAB
call IslandCave_EventScript_ClearSteps
call_if_unset FLAG_DEFEATED_REGICE, IslandCave_EventScript_ShowRegice
end
IslandCave_EventScript_238EAB:: @ 8238EAB
IslandCave_EventScript_ShowRegice:: @ 8238EAB
clearflag FLAG_HIDE_REGICE
return
IslandCave_EventScript_238EAF:: @ 8238EAF
IslandCave_EventScript_OpenRegiEntrance:: @ 8238EAF
setmetatile 7, 19, METATILE_Cave_SealedChamberEntrance_TopLeft, 1
setmetatile 8, 19, METATILE_Cave_SealedChamberEntrance_TopMid, 1
setmetatile 9, 19, METATILE_Cave_SealedChamberEntrance_TopRight, 1
@@ -50,45 +50,45 @@ IslandCave_EventScript_238EAF:: @ 8238EAF
setflag FLAG_SYS_BRAILLE_REGICE_COMPLETED
end
IslandCave_EventScript_238EEF:: @ 8238EEF
IslandCave_EventScript_CaveEntranceMiddle:: @ 8238EEF
lockall
call_if_set FLAG_TEMP_3, IslandCave_EventScript_238F45
goto_if_set FLAG_SYS_BRAILLE_REGICE_COMPLETED, IslandCave_EventScript_238F13
braillemessage IslandCave_Braille_2A6CD4
call_if_set FLAG_TEMP_3, IslandCave_EventScript_ClearSteps
goto_if_set FLAG_SYS_BRAILLE_REGICE_COMPLETED, IslandCave_EventScript_BigHoleInWall
braillemessage IslandCave_Braille_RunLapAroundWall
setflag FLAG_TEMP_2
special ShouldDoBrailleRegicePuzzle
goto IslandCave_EventScript_238F41
goto IslandCave_EventScript_CloseBrailleMsg
end
IslandCave_EventScript_238F13:: @ 8238F13
IslandCave_EventScript_BigHoleInWall:: @ 8238F13
msgbox gText_BigHoleInTheWall, MSGBOX_DEFAULT
releaseall
end
IslandCave_EventScript_238F1D:: @ 8238F1D
IslandCave_EventScript_CaveEntranceSide:: @ 8238F1D
lockall
call_if_set FLAG_TEMP_3, IslandCave_EventScript_238F45
braillemessage IslandCave_Braille_2A6CD4
goto_if_set FLAG_SYS_BRAILLE_REGICE_COMPLETED, IslandCave_EventScript_238F41
call_if_set FLAG_TEMP_3, IslandCave_EventScript_ClearSteps
braillemessage IslandCave_Braille_RunLapAroundWall
goto_if_set FLAG_SYS_BRAILLE_REGICE_COMPLETED, IslandCave_EventScript_CloseBrailleMsg
setflag FLAG_TEMP_2
special ShouldDoBrailleRegicePuzzle
goto IslandCave_EventScript_238F41
goto IslandCave_EventScript_CloseBrailleMsg
end
IslandCave_EventScript_238F41:: @ 8238F41
IslandCave_EventScript_CloseBrailleMsg:: @ 8238F41
waitbuttonpress
hidebox2
closebraillemessage
releaseall
end
IslandCave_EventScript_238F45:: @ 8238F45
IslandCave_EventScript_ClearSteps:: @ 8238F45
setvar VAR_REGICE_STEPS_1, 0
setvar VAR_REGICE_STEPS_2, 0
setvar VAR_REGICE_STEPS_3, 0
clearflag FLAG_TEMP_3
return
IslandCave_EventScript_238F58:: @ 8238F58
IslandCave_EventScript_Regice:: @ 8238F58
lock
faceplayer
waitse
@@ -102,21 +102,21 @@ IslandCave_EventScript_238F58:: @ 8238F58
clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_WON
goto_if_eq IslandCave_EventScript_238F9F
goto_if_eq IslandCave_EventScript_DefeatedRegice
compare VAR_RESULT, B_OUTCOME_RAN
goto_if_eq IslandCave_EventScript_238FA8
goto_if_eq IslandCave_EventScript_RanFromRegice
compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED
goto_if_eq IslandCave_EventScript_238FA8
goto_if_eq IslandCave_EventScript_RanFromRegice
setflag FLAG_DEFEATED_REGICE
release
end
IslandCave_EventScript_238F9F:: @ 8238F9F
IslandCave_EventScript_DefeatedRegice:: @ 8238F9F
setflag FLAG_DEFEATED_REGICE
goto Common_EventScript_RemoveStaticPokemon
end
IslandCave_EventScript_238FA8:: @ 8238FA8
IslandCave_EventScript_RanFromRegice:: @ 8238FA8
setvar VAR_0x8004, SPECIES_REGICE
goto Common_EventScript_LegendaryFlewAway
end

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "JaggedPass_EventScript_230785",
"script": "JaggedPass_EventScript_Eric",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
"script": "JaggedPass_EventScript_2307FB",
"script": "JaggedPass_EventScript_Ethan",
"flag": "0"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "JaggedPass_EventScript_23079C",
"script": "JaggedPass_EventScript_Diana",
"flag": "0"
},
{
@@ -76,7 +76,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "JaggedPass_EventScript_230718",
"script": "JaggedPass_EventScript_MagmaHideoutGuard",
"flag": "FLAG_HIDE_JAGGED_PASS_MAGMA_GUARD"
},
{
@@ -89,7 +89,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "JaggedPass_EventScript_230871",
"script": "JaggedPass_EventScript_Autumn",
"flag": "0"
},
{
@@ -102,7 +102,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "JaggedPass_EventScript_23085A",
"script": "JaggedPass_EventScript_Julio",
"flag": "0"
}
],
@@ -186,7 +186,7 @@
"elevation": 3,
"var": "VAR_JAGGED_PASS_STATE",
"var_value": "1",
"script": "JaggedPass_EventScript_2306BB"
"script": "JaggedPass_EventScript_OpenMagmaHideout"
},
{
"type": "trigger",
@@ -195,7 +195,7 @@
"elevation": 3,
"var": "VAR_JAGGED_PASS_STATE",
"var_value": "1",
"script": "JaggedPass_EventScript_2306BB"
"script": "JaggedPass_EventScript_OpenMagmaHideout"
},
{
"type": "trigger",
@@ -204,7 +204,7 @@
"elevation": 3,
"var": "VAR_JAGGED_PASS_STATE",
"var_value": "1",
"script": "JaggedPass_EventScript_2306BB"
"script": "JaggedPass_EventScript_OpenMagmaHideout"
},
{
"type": "trigger",
@@ -213,7 +213,7 @@
"elevation": 3,
"var": "VAR_JAGGED_PASS_STATE",
"var_value": "1",
"script": "JaggedPass_EventScript_2306BB"
"script": "JaggedPass_EventScript_OpenMagmaHideout"
},
{
"type": "trigger",
@@ -222,7 +222,7 @@
"elevation": 3,
"var": "VAR_JAGGED_PASS_STATE",
"var_value": "1",
"script": "JaggedPass_EventScript_2306BB"
"script": "JaggedPass_EventScript_OpenMagmaHideout"
}
],
"bg_events": [

View File

@@ -1,46 +1,46 @@
JaggedPass_MapScripts:: @ 8230656
map_script MAP_SCRIPT_ON_RESUME, JaggedPass_MapScript1_230666
map_script MAP_SCRIPT_ON_RESUME, JaggedPass_OnResume
map_script MAP_SCRIPT_ON_TRANSITION, JaggedPass_OnTransition
map_script MAP_SCRIPT_ON_LOAD, JaggedPass_MapScript1_23069C
map_script MAP_SCRIPT_ON_LOAD, JaggedPass_OnLoad
.byte 0
JaggedPass_MapScript1_230666: @ 8230666
JaggedPass_OnResume: @ 8230666
setstepcallback STEP_CB_ASH
compare VAR_JAGGED_PASS_STATE, 0
call_if_eq JaggedPass_EventScript_230674
call_if_eq JaggedPass_EventScript_CheckHasMagmaEmblem
end
JaggedPass_EventScript_230674:: @ 8230674
JaggedPass_EventScript_CheckHasMagmaEmblem:: @ 8230674
checkitem ITEM_MAGMA_EMBLEM, 1
compare VAR_RESULT, 1
goto_if_eq JaggedPass_EventScript_230685
goto_if_eq JaggedPass_EventScript_SetReadyToOpenHideout
return
JaggedPass_EventScript_230685:: @ 8230685
JaggedPass_EventScript_SetReadyToOpenHideout:: @ 8230685
setvar VAR_JAGGED_PASS_STATE, 1
return
JaggedPass_OnTransition: @ 823068B
compare VAR_JAGGED_PASS_ASH_WEATHER, 1
call_if_eq JaggedPass_EventScript_230697
call_if_eq JaggedPass_EventScript_SetWeatherAsh
end
JaggedPass_EventScript_230697:: @ 8230697
JaggedPass_EventScript_SetWeatherAsh:: @ 8230697
setweather WEATHER_ASH
doweather
return
JaggedPass_MapScript1_23069C: @ 823069C
JaggedPass_OnLoad: @ 823069C
compare VAR_JAGGED_PASS_STATE, 1
goto_if_le JaggedPass_EventScript_2306A8
goto_if_le JaggedPass_EventScript_ConcealHideoutEntrance
end
JaggedPass_EventScript_2306A8:: @ 82306A8
JaggedPass_EventScript_ConcealHideoutEntrance:: @ 82306A8
setmetatile 16, 17, METATILE_Lavaridge_RockWall, 1
setmetatile 16, 18, METATILE_Lavaridge_RockWall, 1
end
JaggedPass_EventScript_2306BB:: @ 82306BB
JaggedPass_EventScript_OpenMagmaHideout:: @ 82306BB
lockall
setvar VAR_0x8004, 1 @ vertical pan
setvar VAR_0x8005, 1 @ horizontal pan
@@ -48,7 +48,7 @@ JaggedPass_EventScript_2306BB:: @ 82306BB
setvar VAR_0x8007, 5 @ shake delay
special ShakeCamera
waitstate
msgbox JaggedPass_Text_230DBA, MSGBOX_DEFAULT
msgbox JaggedPass_Text_BoulderShakingInResponseToEmblem, MSGBOX_DEFAULT
closemessage
setvar VAR_0x8004, 1 @ vertical pan
setvar VAR_0x8005, 1 @ horizontal pan
@@ -66,9 +66,9 @@ JaggedPass_EventScript_2306BB:: @ 82306BB
releaseall
end
JaggedPass_EventScript_230718:: @ 8230718
JaggedPass_EventScript_MagmaHideoutGuard:: @ 8230718
lockall
goto_if_set FLAG_BEAT_MAGMA_GRUNT_JAGGED_PASS, JaggedPass_EventScript_230766
goto_if_set FLAG_BEAT_MAGMA_GRUNT_JAGGED_PASS, JaggedPass_EventScript_GuardDefeated
waitse
playse SE_PIN
applymovement 5, Common_Movement_ExclamationMark
@@ -77,196 +77,196 @@ JaggedPass_EventScript_230718:: @ 8230718
waitmovement 0
applymovement 5, Common_Movement_FacePlayer
waitmovement 0
msgbox JaggedPass_Text_230CCB, MSGBOX_DEFAULT
msgbox JaggedPass_Text_Grunt30Intro, MSGBOX_DEFAULT
closemessage
trainerbattle_no_intro TRAINER_GRUNT_30, JaggedPass_Text_230D2D
trainerbattle_no_intro TRAINER_GRUNT_30, JaggedPass_Text_Grunt30Defeat
setflag FLAG_BEAT_MAGMA_GRUNT_JAGGED_PASS
applymovement 5, Common_Movement_FaceOriginalDirection
waitmovement 0
releaseall
end
JaggedPass_EventScript_230766:: @ 8230766
JaggedPass_EventScript_GuardDefeated:: @ 8230766
applymovement 5, Common_Movement_FacePlayer
waitmovement 0
msgbox JaggedPass_Text_230D65, MSGBOX_DEFAULT
msgbox JaggedPass_Text_GoWhereverYouWant, MSGBOX_DEFAULT
closemessage
applymovement 5, Common_Movement_FaceOriginalDirection
waitmovement 0
releaseall
end
JaggedPass_EventScript_230785:: @ 8230785
trainerbattle_single TRAINER_ERIC, JaggedPass_Text_230888, JaggedPass_Text_2308FF
msgbox JaggedPass_Text_230916, MSGBOX_AUTOCLOSE
JaggedPass_EventScript_Eric:: @ 8230785
trainerbattle_single TRAINER_ERIC, JaggedPass_Text_EricIntro, JaggedPass_Text_EricDefeat
msgbox JaggedPass_Text_EricPostBattle, MSGBOX_AUTOCLOSE
end
JaggedPass_EventScript_23079C:: @ 823079C
trainerbattle_single TRAINER_DIANA_1, JaggedPass_Text_230974, JaggedPass_Text_2309B5, JaggedPass_EventScript_2307C8
JaggedPass_EventScript_Diana:: @ 823079C
trainerbattle_single TRAINER_DIANA_1, JaggedPass_Text_DianaIntro, JaggedPass_Text_DianaDefeat, JaggedPass_EventScript_RegisterDiana
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq JaggedPass_EventScript_2307E4
msgbox JaggedPass_Text_2309D8, MSGBOX_DEFAULT
goto_if_eq JaggedPass_EventScript_DianaRematch
msgbox JaggedPass_Text_DianaPostBattle, MSGBOX_DEFAULT
release
end
JaggedPass_EventScript_2307C8:: @ 82307C8
special sub_80B4808
msgbox JaggedPass_Text_230A2C, MSGBOX_DEFAULT
JaggedPass_EventScript_RegisterDiana:: @ 82307C8
special PlayerFaceTrainerAfterBattle
msgbox JaggedPass_Text_DianaRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_DIANA_1
release
end
JaggedPass_EventScript_2307E4:: @ 82307E4
trainerbattle_rematch TRAINER_DIANA_1, JaggedPass_Text_230A76, JaggedPass_Text_230AAA
msgbox JaggedPass_Text_230AD7, MSGBOX_AUTOCLOSE
JaggedPass_EventScript_DianaRematch:: @ 82307E4
trainerbattle_rematch TRAINER_DIANA_1, JaggedPass_Text_DianaRematchIntro, JaggedPass_Text_DianaRematchDefeat
msgbox JaggedPass_Text_DianaPostRematch, MSGBOX_AUTOCLOSE
end
JaggedPass_EventScript_2307FB:: @ 82307FB
trainerbattle_single TRAINER_ETHAN_1, JaggedPass_Text_230B10, JaggedPass_Text_230B50, JaggedPass_EventScript_230827
JaggedPass_EventScript_Ethan:: @ 82307FB
trainerbattle_single TRAINER_ETHAN_1, JaggedPass_Text_EthanIntro, JaggedPass_Text_EthanDefeat, JaggedPass_EventScript_RegisterEthan
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq JaggedPass_EventScript_230843
msgbox JaggedPass_Text_230B93, MSGBOX_DEFAULT
goto_if_eq JaggedPass_EventScript_EthanRematch
msgbox JaggedPass_Text_EthanPostBattle, MSGBOX_DEFAULT
release
end
JaggedPass_EventScript_230827:: @ 8230827
special sub_80B4808
msgbox JaggedPass_Text_230BC6, MSGBOX_DEFAULT
JaggedPass_EventScript_RegisterEthan:: @ 8230827
special PlayerFaceTrainerAfterBattle
msgbox JaggedPass_Text_EthanRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_ETHAN_1
release
end
JaggedPass_EventScript_230843:: @ 8230843
trainerbattle_rematch TRAINER_ETHAN_1, JaggedPass_Text_230C28, JaggedPass_Text_230C60
msgbox JaggedPass_Text_230C94, MSGBOX_AUTOCLOSE
JaggedPass_EventScript_EthanRematch:: @ 8230843
trainerbattle_rematch TRAINER_ETHAN_1, JaggedPass_Text_EthanRematchIntro, JaggedPass_Text_EthanRematchDefeat
msgbox JaggedPass_Text_EthanPostRematch, MSGBOX_AUTOCLOSE
end
JaggedPass_EventScript_23085A:: @ 823085A
trainerbattle_single TRAINER_JULIO, JaggedPass_Text_230DF7, JaggedPass_Text_230E38
msgbox JaggedPass_Text_230E57, MSGBOX_AUTOCLOSE
JaggedPass_EventScript_Julio:: @ 823085A
trainerbattle_single TRAINER_JULIO, JaggedPass_Text_JulioIntro, JaggedPass_Text_JulioDefeat
msgbox JaggedPass_Text_JulioPostBattle, MSGBOX_AUTOCLOSE
end
JaggedPass_EventScript_230871:: @ 8230871
trainerbattle_single TRAINER_AUTUMN, JaggedPass_Text_230E8E, JaggedPass_Text_230ECD
msgbox JaggedPass_Text_230EE3, MSGBOX_AUTOCLOSE
JaggedPass_EventScript_Autumn:: @ 8230871
trainerbattle_single TRAINER_AUTUMN, JaggedPass_Text_AutumnIntro, JaggedPass_Text_AutumnDefeat
msgbox JaggedPass_Text_AutumnPostBattle, MSGBOX_AUTOCLOSE
end
JaggedPass_Text_230888: @ 8230888
JaggedPass_Text_EricIntro: @ 8230888
.string "MT. CHIMNEY's JAGGED PASS…\p"
.string "Now this is what I've always wanted\n"
.string "in a mountain.\p"
.string "This jagged bumpiness…\n"
.string "It rocks my soul!$"
JaggedPass_Text_2308FF: @ 82308FF
JaggedPass_Text_EricDefeat: @ 82308FF
.string "Losing left me bitter!$"
JaggedPass_Text_230916: @ 8230916
JaggedPass_Text_EricPostBattle: @ 8230916
.string "Yes, I did lose at POKéMON…\p"
.string "But, when it comes to the love of\n"
.string "the mountains, I have you beat!$"
JaggedPass_Text_230974: @ 8230974
JaggedPass_Text_DianaIntro: @ 8230974
.string "This place isn't your casual hike.\n"
.string "It's not suited for a picnic.$"
JaggedPass_Text_2309B5: @ 82309B5
JaggedPass_Text_DianaDefeat: @ 82309B5
.string "Ohhh, no!\n"
.string "The ground is too bumpy…$"
JaggedPass_Text_2309D8: @ 82309D8
JaggedPass_Text_DianaPostBattle: @ 82309D8
.string "Did you know?\p"
.string "Some people cleverly ride their\n"
.string "bicycles up this horribly bumpy pass.$"
JaggedPass_Text_230A2C: @ 8230A2C
JaggedPass_Text_DianaRegister: @ 8230A2C
.string "Will you ever be back in this area?\n"
.string "If you do return, I'd like a rematch.$"
JaggedPass_Text_230A76: @ 8230A76
JaggedPass_Text_DianaRematchIntro: @ 8230A76
.string "Picnics are fun wherever you go.\n"
.string "Just like POKéMON!$"
JaggedPass_Text_230AAA: @ 8230AAA
JaggedPass_Text_DianaRematchDefeat: @ 8230AAA
.string "I only lost because the ground is\n"
.string "too bumpy!$"
JaggedPass_Text_230AD7: @ 8230AD7
JaggedPass_Text_DianaPostRematch: @ 8230AD7
.string "I'll forget about losing and just\n"
.string "enjoy this bumpy hike.$"
JaggedPass_Text_230B10: @ 8230B10
JaggedPass_Text_EthanIntro: @ 8230B10
.string "JAGGED PASS is hard to walk on.\n"
.string "It's a good place for training.$"
JaggedPass_Text_230B50: @ 8230B50
JaggedPass_Text_EthanDefeat: @ 8230B50
.string "It was all over while we were still\n"
.string "trying to find a good footing…$"
JaggedPass_Text_230B93: @ 8230B93
JaggedPass_Text_EthanPostBattle: @ 8230B93
.string "If I had an ACRO BIKE, I'd be able to\n"
.string "jump ledges.$"
JaggedPass_Text_230BC6: @ 8230BC6
JaggedPass_Text_EthanRegister: @ 8230BC6
.string "When I get more used to this bumpiness,\n"
.string "I'll be sure to win!\p"
.string "Can you register me in your POKéNAV?$"
JaggedPass_Text_230C28: @ 8230C28
JaggedPass_Text_EthanRematchIntro: @ 8230C28
.string "I got used to this bumpiness.\n"
.string "I sing while I climb now.$"
JaggedPass_Text_230C60: @ 8230C60
JaggedPass_Text_EthanRematchDefeat: @ 8230C60
.string "It's still not easy to battle on this\n"
.string "bumpy ground…$"
JaggedPass_Text_230C94: @ 8230C94
JaggedPass_Text_EthanPostRematch: @ 8230C94
.string "I should get an ACRO BIKE from RYDEL\n"
.string "in MAUVILLE CITY…$"
JaggedPass_Text_230CCB: @ 8230CCB
JaggedPass_Text_Grunt30Intro: @ 8230CCB
.string "Wah!\n"
.string "What are you doing here?\p"
.string "What am I doing in a place like this?\p"
.string "What business is it of yours?$"
JaggedPass_Text_230D2D: @ 8230D2D
JaggedPass_Text_Grunt30Defeat: @ 8230D2D
.string "Urrrgh…\p"
.string "I should've ducked into our HIDEOUT\n"
.string "right away…$"
JaggedPass_Text_230D65: @ 8230D65
JaggedPass_Text_GoWhereverYouWant: @ 8230D65
.string "Okay, oh-kay!\n"
.string "I admit it--you're strong!\p"
.string "Don't worry about me.\n"
.string "Go wherever you want!$"
JaggedPass_Text_230DBA: @ 8230DBA
JaggedPass_Text_BoulderShakingInResponseToEmblem: @ 8230DBA
.string "Oh! This boulder is shaking in response\n"
.string "to the MAGMA EMBLEM!$"
JaggedPass_Text_230DF7: @ 8230DF7
JaggedPass_Text_JulioIntro: @ 8230DF7
.string "Aiyeeh! It's awfully scary to shoot\n"
.string "down the mountain in one go!$"
JaggedPass_Text_230E38: @ 8230E38
JaggedPass_Text_JulioDefeat: @ 8230E38
.string "I feel like I'm falling apart…$"
JaggedPass_Text_230E57: @ 8230E57
JaggedPass_Text_JulioPostBattle: @ 8230E57
.string "My bicycle bounced around so much,\n"
.string "my rear end's sore…$"
JaggedPass_Text_230E8E: @ 8230E8E
JaggedPass_Text_AutumnIntro: @ 8230E8E
.string "I climb this hill every day.\n"
.string "I have confidence in my strength!$"
JaggedPass_Text_230ECD: @ 8230ECD
JaggedPass_Text_AutumnDefeat: @ 8230ECD
.string "Hmm…\n"
.string "What went wrong?$"
JaggedPass_Text_230EE3: @ 8230EE3
JaggedPass_Text_AutumnPostBattle: @ 8230EE3
.string "What is that odd rock protrusion\n"
.string "a little up the hill from here?$"

View File

@@ -248,10 +248,10 @@ LavaridgeTown_EventScript_1EA744:: @ 81EA744
faceplayer
goto_if_set FLAG_RECEIVED_LAVARIDGE_EGG, LavaridgeTown_EventScript_1EA787
msgbox LavaridgeTown_Text_1EAB80, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq LavaridgeTown_EventScript_1EA79B
getpartysize
compare VAR_RESULT, 6
compare VAR_RESULT, PARTY_SIZE
goto_if_eq LavaridgeTown_EventScript_1EA791
msgbox LavaridgeTown_Text_1EACC0, MSGBOX_DEFAULT
setflag FLAG_RECEIVED_LAVARIDGE_EGG

View File

@@ -241,7 +241,7 @@ LilycoveCity_EventScript_1E2DF8:: @ 81E2DF8
playbgm MUS_GIRL_SUP, 1
call_if_set FLAG_DECLINED_RIVAL_BATTLE_LILYCOVE, LilycoveCity_EventScript_1E2E48
call_if_unset FLAG_DECLINED_RIVAL_BATTLE_LILYCOVE, LilycoveCity_EventScript_1E2E51
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq LilycoveCity_EventScript_1E2E5A
msgbox LilycoveCity_Text_1E3234, MSGBOX_DEFAULT
switch VAR_STARTER_MON
@@ -270,7 +270,7 @@ LilycoveCity_EventScript_1E2E6B:: @ 81E2E6B
playbgm MUS_BOY_SUP, 1
call_if_set FLAG_DECLINED_RIVAL_BATTLE_LILYCOVE, LilycoveCity_EventScript_1E2EBB
call_if_unset FLAG_DECLINED_RIVAL_BATTLE_LILYCOVE, LilycoveCity_EventScript_1E2EC4
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq LilycoveCity_EventScript_1E2ECD
msgbox LilycoveCity_Text_1E373C, MSGBOX_DEFAULT
switch VAR_STARTER_MON
@@ -405,9 +405,9 @@ LilycoveCity_EventScript_1E302D:: @ 81E302D
lock
faceplayer
msgbox LilycoveCity_Text_1E4774, MSGBOX_YESNO
compare VAR_RESULT, 1
compare VAR_RESULT, YES
call_if_eq LilycoveCity_EventScript_1E304F
compare VAR_RESULT, 0
compare VAR_RESULT, NO
call_if_eq LilycoveCity_EventScript_1E3058
release
end

View File

@@ -44,9 +44,9 @@ LilycoveCity_ContestLobby_EventScript_21A264:: @ 821A264
drawcontestwinner 0
lockall
msgbox LilycoveCity_ContestLobby_Text_21AE78, MSGBOX_YESNO
compare VAR_RESULT, 1
compare VAR_RESULT, YES
goto_if_eq LilycoveCity_ContestLobby_EventScript_21A2AA
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq LilycoveCity_ContestLobby_EventScript_21A2E4
releaseall
end
@@ -69,7 +69,7 @@ LilycoveCity_ContestLobby_EventScript_21A2AA:: @ 821A2AA
LilycoveCity_ContestLobby_EventScript_21A2E4:: @ 821A2E4
msgbox LilycoveCity_ContestLobby_Text_21B0BC, MSGBOX_YESNO
compare VAR_RESULT, 1
compare VAR_RESULT, YES
goto_if_eq LilycoveCity_ContestLobby_EventScript_21A2AA
msgbox LilycoveCity_ContestLobby_Text_21B132, MSGBOX_DEFAULT
closemessage
@@ -217,9 +217,9 @@ LilycoveCity_ContestLobby_EventScript_21A436:: @ 821A436
fadescreen 1
drawcontestwinner 0
msgbox LilycoveCity_ContestLobby_Text_21AE78, MSGBOX_YESNO
compare VAR_RESULT, 1
compare VAR_RESULT, YES
goto_if_eq LilycoveCity_ContestLobby_EventScript_21A47A
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq LilycoveCity_ContestLobby_EventScript_21A4B4
end
@@ -241,7 +241,7 @@ LilycoveCity_ContestLobby_EventScript_21A47A:: @ 821A47A
LilycoveCity_ContestLobby_EventScript_21A4B4:: @ 821A4B4
msgbox LilycoveCity_ContestLobby_Text_21B0BC, MSGBOX_YESNO
compare VAR_RESULT, 1
compare VAR_RESULT, YES
goto_if_eq LilycoveCity_ContestLobby_EventScript_21A47A
msgbox LilycoveCity_ContestLobby_Text_21B132, MSGBOX_DEFAULT
closemessage
@@ -640,7 +640,7 @@ LilycoveCity_ContestLobby_EventScript_21A819:: @ 821A819
LilycoveCity_ContestLobby_EventScript_21A856:: @ 821A856
msgbox LilycoveCity_ContestLobby_Text_27BD17, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq LilycoveCity_ContestLobby_EventScript_21A97F
call Common_EventScript_SaveGame
compare VAR_RESULT, 0

View File

@@ -13,7 +13,7 @@ LilycoveCity_DepartmentStore_1F_EventScript_21F69C:: @ 821F69C
goto_if_ne LilycoveCity_DepartmentStore_1F_EventScript_21F7F7
goto_if_set FLAG_DAILY_PICKED_LOTO_TICKET, LilycoveCity_DepartmentStore_1F_EventScript_21F78D
msgbox LilycoveCity_DepartmentStore_1F_Text_2A6390, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq LilycoveCity_DepartmentStore_1F_EventScript_21F797
setflag FLAG_DAILY_PICKED_LOTO_TICKET
message LilycoveCity_DepartmentStore_1F_Text_2A64C8

View File

@@ -87,7 +87,7 @@ LilycoveCity_Harbor_EventScript_GoToFarawayIsland:: @ 821E139
LilycoveCity_Harbor_EventScript_GoToSlateport:: @ 821E149
msgbox LilycoveCity_Harbor_Text_SlateportItIs, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq LilycoveCity_Harbor_EventScript_FerryDestinationChangeMind
setvar VAR_PORTHOLE_STATE, 5
call LilycoveCity_Harbor_EventScript_BoardFerry
@@ -98,7 +98,7 @@ LilycoveCity_Harbor_EventScript_GoToSlateport:: @ 821E149
LilycoveCity_Harbor_EventScript_GoToBattleFrontier:: @ 821E171
msgbox LilycoveCity_Harbor_Text_BattleFrontierItIs, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq LilycoveCity_Harbor_EventScript_FerryDestinationChangeMind
call LilycoveCity_Harbor_EventScript_BoardFerry
warp MAP_BATTLE_FRONTIER_OUTSIDE_WEST, 255, 19, 67
@@ -390,7 +390,7 @@ LilycoveCity_Harbor_EventScript_NoTicket:: @ 821E56B
@ Unused
LilycoveCity_Harbor_EventScript_GoToSlateportUnused:: @ 821E575
msgbox LilycoveCity_Harbor_Text_SlateportItIs, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq LilycoveCity_Harbor_EventScript_FerryDestinationChangeMind
setvar VAR_PORTHOLE_STATE, 5
call LilycoveCity_Harbor_EventScript_BoardFerry
@@ -402,7 +402,7 @@ LilycoveCity_Harbor_EventScript_GoToSlateportUnused:: @ 821E575
@ Unused
LilycoveCity_Harbor_EventScript_GoToBattleFrontierUnused:: @ 821E59D
msgbox LilycoveCity_Harbor_Text_BattleFrontierItIs, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq LilycoveCity_Harbor_EventScript_FerryDestinationChangeMind
call LilycoveCity_Harbor_EventScript_BoardFerry
warp MAP_BATTLE_FRONTIER_OUTSIDE_WEST, 255, 19, 67

View File

@@ -11,7 +11,7 @@ LilycoveCity_House3_EventScript_21EE4B:: @ 821EE4B
lock
faceplayer
msgbox LilycoveCity_House3_Text_21EF99, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq LilycoveCity_House3_EventScript_21EE75
msgbox LilycoveCity_House3_Text_21F0F8, MSGBOX_DEFAULT
closemessage

View File

@@ -23,9 +23,9 @@ LilycoveCity_LilycoveMuseum_1F_EventScript_218CEC:: @ 8218CEC
LilycoveCity_LilycoveMuseum_1F_EventScript_218CF5:: @ 8218CF5
msgbox LilycoveCity_LilycoveMuseum_1F_Text_218F98, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq LilycoveCity_LilycoveMuseum_1F_EventScript_218D14
compare VAR_RESULT, 1
compare VAR_RESULT, YES
goto_if_eq LilycoveCity_LilycoveMuseum_1F_EventScript_218D1E
end

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_MoveDeletersHouse_EventScript_21EA0B",
"script": "LilycoveCity_MoveDeletersHouse_EventScript_MoveDeleter",
"flag": "0"
}
],

View File

@@ -1,110 +1,110 @@
LilycoveCity_MoveDeletersHouse_MapScripts:: @ 821EA0A
.byte 0
LilycoveCity_MoveDeletersHouse_EventScript_21EA0B:: @ 821EA0B
LilycoveCity_MoveDeletersHouse_EventScript_MoveDeleter:: @ 821EA0B
lockall
applymovement 1, Common_Movement_FacePlayer
waitmovement 0
msgbox LilycoveCity_MoveDeletersHouse_Text_21EAFD, MSGBOX_YESNO
msgbox LilycoveCity_MoveDeletersHouse_Text_ICanMakeMonForgetMove, MSGBOX_YESNO
switch VAR_RESULT
case 1, LilycoveCity_MoveDeletersHouse_EventScript_21EA3B
case 0, LilycoveCity_MoveDeletersHouse_EventScript_21EAE6
case YES, LilycoveCity_MoveDeletersHouse_EventScript_ChooseMonAndMoveToForget
case NO, LilycoveCity_MoveDeletersHouse_EventScript_ComeAgain
releaseall
end
LilycoveCity_MoveDeletersHouse_EventScript_21EA3B:: @ 821EA3B
msgbox LilycoveCity_MoveDeletersHouse_Text_21EB65, MSGBOX_DEFAULT
special sub_81B94B0
LilycoveCity_MoveDeletersHouse_EventScript_ChooseMonAndMoveToForget:: @ 821EA3B
msgbox LilycoveCity_MoveDeletersHouse_Text_WhichMonShouldForget, MSGBOX_DEFAULT
special ChoosePartyMon
waitstate
compare VAR_0x8004, 255
goto_if_eq LilycoveCity_MoveDeletersHouse_EventScript_21EAE6
special sub_81B98DC
goto_if_eq LilycoveCity_MoveDeletersHouse_EventScript_ComeAgain
special IsSelectedMonEgg
compare VAR_RESULT, TRUE
goto_if_eq LilycoveCity_MoveDeletersHouse_EventScript_EggCantForgetMoves
special GetNumMovesSelectedMonHas
compare VAR_RESULT, 1
goto_if_eq LilycoveCity_MoveDeletersHouse_EventScript_21EADC
special sub_81B96D0
compare VAR_RESULT, 1
goto_if_eq LilycoveCity_MoveDeletersHouse_EventScript_21EACF
msgbox LilycoveCity_MoveDeletersHouse_Text_21EB89, MSGBOX_DEFAULT
goto_if_eq LilycoveCity_MoveDeletersHouse_EventScript_MonOnlyKnowsOneMove
msgbox LilycoveCity_MoveDeletersHouse_Text_WhichMoveShouldBeForgotten, MSGBOX_DEFAULT
fadescreen 1
special sub_81B968C
special MoveDeleterChooseMoveToForget
fadescreen 0
compare VAR_0x8005, 4
goto_if_eq LilycoveCity_MoveDeletersHouse_EventScript_21EA3B
special sub_81B9718
msgbox LilycoveCity_MoveDeletersHouse_Text_21EBDA, MSGBOX_YESNO
compare VAR_0x8005, MAX_MON_MOVES
goto_if_eq LilycoveCity_MoveDeletersHouse_EventScript_ChooseMonAndMoveToForget
special BufferMoveDeleterNicknameAndMove
msgbox LilycoveCity_MoveDeletersHouse_Text_MonsMoveShouldBeForgotten, MSGBOX_YESNO
switch VAR_RESULT
case 1, LilycoveCity_MoveDeletersHouse_EventScript_21EAB0
case 0, LilycoveCity_MoveDeletersHouse_EventScript_21EAE6
case YES, LilycoveCity_MoveDeletersHouse_EventScript_TryForgetMove
case NO, LilycoveCity_MoveDeletersHouse_EventScript_ComeAgain
releaseall
end
LilycoveCity_MoveDeletersHouse_EventScript_21EAB0:: @ 821EAB0
special sub_81B9918
compare VAR_RESULT, 1
goto_if_eq LilycoveCity_MoveDeletersHouse_EventScript_21EAF0
special sub_81B9770
LilycoveCity_MoveDeletersHouse_EventScript_TryForgetMove:: @ 821EAB0
special IsLastMonThatKnowsSurf
compare VAR_RESULT, TRUE
goto_if_eq LilycoveCity_MoveDeletersHouse_EventScript_LastMonWithSurf
special MoveDeleterForgetMove
playfanfare MUS_ME_WASURE
waitfanfare
msgbox LilycoveCity_MoveDeletersHouse_Text_21EC06, MSGBOX_DEFAULT
msgbox LilycoveCity_MoveDeletersHouse_Text_MonHasForgottenMove, MSGBOX_DEFAULT
releaseall
end
LilycoveCity_MoveDeletersHouse_EventScript_21EACF:: @ 821EACF
special sub_81B9718
msgbox LilycoveCity_MoveDeletersHouse_Text_21EBA9, MSGBOX_DEFAULT
LilycoveCity_MoveDeletersHouse_EventScript_MonOnlyKnowsOneMove:: @ 821EACF
special BufferMoveDeleterNicknameAndMove
msgbox LilycoveCity_MoveDeletersHouse_Text_MonOnlyKnowsOneMove, MSGBOX_DEFAULT
releaseall
end
LilycoveCity_MoveDeletersHouse_EventScript_21EADC:: @ 821EADC
msgbox LilycoveCity_MoveDeletersHouse_Text_21EC78, MSGBOX_DEFAULT
LilycoveCity_MoveDeletersHouse_EventScript_EggCantForgetMoves:: @ 821EADC
msgbox LilycoveCity_MoveDeletersHouse_Text_EggCantForgetMoves, MSGBOX_DEFAULT
releaseall
end
LilycoveCity_MoveDeletersHouse_EventScript_21EAE6:: @ 821EAE6
msgbox LilycoveCity_MoveDeletersHouse_Text_21EC3F, MSGBOX_DEFAULT
LilycoveCity_MoveDeletersHouse_EventScript_ComeAgain:: @ 821EAE6
msgbox LilycoveCity_MoveDeletersHouse_Text_ComeAgain, MSGBOX_DEFAULT
releaseall
end
LilycoveCity_MoveDeletersHouse_EventScript_21EAF0:: @ 821EAF0
special sub_81B9718
msgbox LilycoveCity_MoveDeletersHouse_Text_21EC9C, MSGBOX_DEFAULT
LilycoveCity_MoveDeletersHouse_EventScript_LastMonWithSurf:: @ 821EAF0
special BufferMoveDeleterNicknameAndMove
msgbox LilycoveCity_MoveDeletersHouse_Text_CantForgetSurf, MSGBOX_DEFAULT
releaseall
end
LilycoveCity_MoveDeletersHouse_Text_21EAFD: @ 821EAFD
LilycoveCity_MoveDeletersHouse_Text_ICanMakeMonForgetMove: @ 821EAFD
.string "Uh…\n"
.string "Oh, yes, I'm the MOVE DELETER.\p"
.string "I can make POKéMON forget their moves.\p"
.string "Would you like me to do that?$"
LilycoveCity_MoveDeletersHouse_Text_21EB65: @ 821EB65
LilycoveCity_MoveDeletersHouse_Text_WhichMonShouldForget: @ 821EB65
.string "Which POKéMON should forget a move?$"
LilycoveCity_MoveDeletersHouse_Text_21EB89: @ 821EB89
LilycoveCity_MoveDeletersHouse_Text_WhichMoveShouldBeForgotten: @ 821EB89
.string "Which move should be forgotten?$"
LilycoveCity_MoveDeletersHouse_Text_21EBA9: @ 821EBA9
LilycoveCity_MoveDeletersHouse_Text_MonOnlyKnowsOneMove: @ 821EBA9
.string "{STR_VAR_1} knows only one move\n"
.string "so it can't be forgotten…$"
LilycoveCity_MoveDeletersHouse_Text_21EBDA: @ 821EBDA
LilycoveCity_MoveDeletersHouse_Text_MonsMoveShouldBeForgotten: @ 821EBDA
.string "Hm! {STR_VAR_1}'s {STR_VAR_2}?\n"
.string "That move should be forgotten?$"
LilycoveCity_MoveDeletersHouse_Text_21EC06: @ 821EC06
LilycoveCity_MoveDeletersHouse_Text_MonHasForgottenMove: @ 821EC06
.string "It worked to perfection!\p"
.string "{STR_VAR_1} has forgotten\n"
.string "{STR_VAR_2} completely.$"
LilycoveCity_MoveDeletersHouse_Text_21EC3F: @ 821EC3F
LilycoveCity_MoveDeletersHouse_Text_ComeAgain: @ 821EC3F
.string "Come again if there are moves that\n"
.string "need to be forgotten.$"
LilycoveCity_MoveDeletersHouse_Text_21EC78: @ 821EC78
LilycoveCity_MoveDeletersHouse_Text_EggCantForgetMoves: @ 821EC78
.string "What?\n"
.string "No EGG should know any moves.$"
LilycoveCity_MoveDeletersHouse_Text_21EC9C: @ 821EC9C
LilycoveCity_MoveDeletersHouse_Text_CantForgetSurf: @ 821EC9C
.string "Hm!\p"
.string "Your {STR_VAR_1} doesn't seem willing\n"
.string "to forget SURF.$"

View File

@@ -63,7 +63,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_PokemonCenter_1F_EventScript_2A836B",
"script": "LilycoveCity_PokemonCenter_1F_EventScript_LilycoveLady",
"flag": "0"
},
{
@@ -76,7 +76,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_PokemonCenter_1F_EventScript_2A89C7",
"script": "LilycoveCity_PokemonCenter_1F_EventScript_ContestLadyMon",
"flag": "FLAG_HIDE_LILYCOVE_POKEMON_CENTER_LADY"
}
],

View File

@@ -532,9 +532,9 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CDEE:: @ 821CDEE
setvar VAR_0x8004, 8
special BufferStreakTrainerText
msgbox LilycoveCity_PokemonTrainerFanClub_Text_281C3D, MSGBOX_YESNO
compare VAR_RESULT, 1
compare VAR_RESULT, YES
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CEC6
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CE15
end
@@ -577,9 +577,9 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CE9F:: @ 821CE9F
setvar VAR_0x8004, 8
special BufferStreakTrainerText
msgbox LilycoveCity_PokemonTrainerFanClub_Text_281CCD, MSGBOX_YESNO
compare VAR_RESULT, 1
compare VAR_RESULT, YES
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CEC6
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CE4D
end

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_BrendansHouse_1F_EventScript_2929C5",
"script": "PlayersHouse_1F_EventScript_Mom",
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_MOM"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_BrendansHouse_1F_EventScript_292ACD",
"script": "PlayersHouse_1F_EventScript_Vigoroth2",
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_PLAYERS_HOUSE_VIGOROTH_2"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_BrendansHouse_1F_EventScript_292ABA",
"script": "PlayersHouse_1F_EventScript_Vigoroth1",
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_PLAYERS_HOUSE_VIGOROTH_1"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_BrendansHouse_1F_EventScript_1F89F3",
"script": "RivalsHouse_1F_EventScript_RivalMom",
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_RIVAL_MOM"
},
{
@@ -89,7 +89,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_BrendansHouse_1F_EventScript_1F8A3D",
"script": "RivalsHouse_1F_EventScript_RivalSibling",
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_RIVAL_SIBLING"
},
{
@@ -137,7 +137,7 @@
"elevation": 0,
"var": "VAR_LITTLEROOT_INTRO_STATE",
"var_value": "4",
"script": "LittlerootTown_BrendansHouse_1F_EventScript_1F78A3"
"script": "LittlerootTown_BrendansHouse_1F_EventScript_GoSeeRoom"
},
{
"type": "trigger",
@@ -146,7 +146,7 @@
"elevation": 0,
"var": "VAR_LITTLEROOT_RIVAL_STATE",
"var_value": "2",
"script": "LittlerootTown_BrendansHouse_1F_EventScript_1F78BE"
"script": "LittlerootTown_BrendansHouse_1F_EventScript_MeetRival0"
},
{
"type": "trigger",
@@ -155,7 +155,7 @@
"elevation": 0,
"var": "VAR_LITTLEROOT_RIVAL_STATE",
"var_value": "2",
"script": "LittlerootTown_BrendansHouse_1F_EventScript_1F78CA"
"script": "LittlerootTown_BrendansHouse_1F_EventScript_MeetRival1"
},
{
"type": "trigger",
@@ -164,7 +164,7 @@
"elevation": 0,
"var": "VAR_LITTLEROOT_RIVAL_STATE",
"var_value": "2",
"script": "LittlerootTown_BrendansHouse_1F_EventScript_1F78D6"
"script": "LittlerootTown_BrendansHouse_1F_EventScript_MeetRival2"
}
],
"bg_events": []

View File

@@ -1,93 +1,94 @@
LittlerootTown_BrendansHouse_1F_MapScripts:: @ 81F7755
map_script MAP_SCRIPT_ON_LOAD, LittlerootTown_BrendansHouse_1F_MapScript1_1F7765
map_script MAP_SCRIPT_ON_TRANSITION, LittlerootTown_BrendansHouse_1F_MapScript1_1F77A4
map_script MAP_SCRIPT_ON_FRAME_TABLE, LittlerootTown_BrendansHouse_1F_MapScript2_1F77EA
map_script MAP_SCRIPT_ON_LOAD, LittlerootTown_BrendansHouse_1F_OnLoad
map_script MAP_SCRIPT_ON_TRANSITION, LittlerootTown_BrendansHouse_1F_OnTransition
map_script MAP_SCRIPT_ON_FRAME_TABLE, LittlerootTown_BrendansHouse_1F_OnFrame
.byte 0
LittlerootTown_BrendansHouse_1F_MapScript1_1F7765: @ 81F7765
LittlerootTown_BrendansHouse_1F_OnLoad: @ 81F7765
compare VAR_LITTLEROOT_INTRO_STATE, 6
call_if_lt LittlerootTown_BrendansHouse_1F_EventScript_1F777A
call_if_set FLAG_RECEIVED_RUNNING_SHOES, LittlerootTown_BrendansHouse_1F_EventScript_1F778D
call_if_lt LittlerootTown_BrendansHouse_1F_EventScript_SetMovingBoxes
call_if_set FLAG_RECEIVED_RUNNING_SHOES, LittlerootTown_BrendansHouse_1F_EventScript_CheckShowShoesManual
end
LittlerootTown_BrendansHouse_1F_EventScript_1F777A:: @ 81F777A
LittlerootTown_BrendansHouse_1F_EventScript_SetMovingBoxes:: @ 81F777A
setmetatile 5, 4, METATILE_BrendansMaysHouse_MovingBox_Open, 1
setmetatile 5, 2, METATILE_BrendansMaysHouse_MovingBox_Closed, 1
return
LittlerootTown_BrendansHouse_1F_EventScript_1F778D:: @ 81F778D
LittlerootTown_BrendansHouse_1F_EventScript_CheckShowShoesManual:: @ 81F778D
checkplayergender
compare VAR_RESULT, MALE
goto_if_eq LittlerootTown_BrendansHouse_1F_EventScript_1F779A
goto_if_eq LittlerootTown_BrendansHouse_1F_EventScript_ShowRunningShoesManual
return
LittlerootTown_BrendansHouse_1F_EventScript_1F779A:: @ 81F779A
LittlerootTown_BrendansHouse_1F_EventScript_ShowRunningShoesManual:: @ 81F779A
setmetatile 3, 7, METATILE_BrendansMaysHouse_BookOnTable, 1
return
LittlerootTown_BrendansHouse_1F_MapScript1_1F77A4: @ 81F77A4
LittlerootTown_BrendansHouse_1F_OnTransition: @ 81F77A4
compare VAR_LITTLEROOT_INTRO_STATE, 3
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_1F77DE
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_MoveMomToDoor
compare VAR_LITTLEROOT_INTRO_STATE, 5
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_1F77C6
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_MoveMomToStairs
compare VAR_LITTLEROOT_INTRO_STATE, 6
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_1F77D2
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_MoveMomToTV
end
LittlerootTown_BrendansHouse_1F_EventScript_1F77C6:: @ 81F77C6
LittlerootTown_BrendansHouse_1F_EventScript_MoveMomToStairs:: @ 81F77C6
setobjectxyperm 1, 8, 4
setobjectmovementtype 1, MOVEMENT_TYPE_FACE_UP
return
LittlerootTown_BrendansHouse_1F_EventScript_1F77D2:: @ 81F77D2
LittlerootTown_BrendansHouse_1F_EventScript_MoveMomToTV:: @ 81F77D2
setobjectxyperm 1, 4, 5
setobjectmovementtype 1, MOVEMENT_TYPE_FACE_UP
return
LittlerootTown_BrendansHouse_1F_EventScript_1F77DE:: @ 81F77DE
LittlerootTown_BrendansHouse_1F_EventScript_MoveMomToDoor:: @ 81F77DE
setobjectxyperm 1, 9, 8
setobjectmovementtype 1, MOVEMENT_TYPE_FACE_UP
return
LittlerootTown_BrendansHouse_1F_MapScript2_1F77EA: @ 81F77EA
map_script_2 VAR_LITTLEROOT_INTRO_STATE, 3, LittlerootTown_BrendansHouse_1F_EventScript_1F783C
map_script_2 VAR_LITTLEROOT_INTRO_STATE, 5, LittlerootTown_BrendansHouse_1F_EventScript_1F7814
map_script_2 VAR_LITTLEROOT_INTRO_STATE, 6, LittlerootTown_BrendansHouse_1F_EventScript_1F784D
map_script_2 VAR_LITTLEROOT_HOUSES_STATE, 1, LittlerootTown_BrendansHouse_1F_EventScript_1F785E
map_script_2 VAR_LITTLEROOT_HOUSES_STATE, 3, LittlerootTown_BrendansHouse_1F_EventScript_292AF2
@ Many of the below scripts have no gender check because they assume youre in the correct house
LittlerootTown_BrendansHouse_1F_OnFrame: @ 81F77EA
map_script_2 VAR_LITTLEROOT_INTRO_STATE, 3, LittlerootTown_BrendansHouse_1F_EventScript_EnterHouseMovingIn
map_script_2 VAR_LITTLEROOT_INTRO_STATE, 5, LittlerootTown_BrendansHouse_1F_EventScript_GoUpstairsToSetClock
map_script_2 VAR_LITTLEROOT_INTRO_STATE, 6, LittlerootTown_BrendansHouse_1F_EventScript_PetalburgGymReport
map_script_2 VAR_LITTLEROOT_HOUSES_STATE, 1, LittlerootTown_BrendansHouse_1F_EventScript_YoureNewNeighbor
map_script_2 VAR_LITTLEROOT_HOUSES_STATE, 3, PlayersHouse_1F_EventScript_GetSSTicketAndSeeLatiTV
.2byte 0
LittlerootTown_BrendansHouse_1F_EventScript_1F7814:: @ 81F7814
LittlerootTown_BrendansHouse_1F_EventScript_GoUpstairsToSetClock:: @ 81F7814
lockall
msgbox LittlerootTown_BrendansHouse_1F_Text_1F7B67, MSGBOX_DEFAULT
msgbox PlayersHouse_1F_Text_GoSetTheClock, MSGBOX_DEFAULT
closemessage
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_1F_Movement_1F783A
applymovement 1, LittlerootTown_BrendansHouse_1F_Movement_1F783A
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_1F_Movement_PushTowardStairs
applymovement 1, LittlerootTown_BrendansHouse_1F_Movement_PushTowardStairs
waitmovement 0
warp MAP_LITTLEROOT_TOWN_BRENDANS_HOUSE_2F, 255, 7, 1
waitstate
releaseall
end
LittlerootTown_BrendansHouse_1F_Movement_1F783A: @ 81F783A
LittlerootTown_BrendansHouse_1F_Movement_PushTowardStairs: @ 81F783A
walk_up
step_end
LittlerootTown_BrendansHouse_1F_EventScript_1F783C:: @ 81F783C
LittlerootTown_BrendansHouse_1F_EventScript_EnterHouseMovingIn:: @ 81F783C
lockall
setvar VAR_0x8004, 1
setvar VAR_0x8005, 0
goto LittlerootTown_BrendansHouse_1F_EventScript_292704
setvar VAR_0x8005, MALE
goto PlayersHouse_1F_EventScript_EnterHouseMovingIn
end
LittlerootTown_BrendansHouse_1F_EventScript_1F784D:: @ 81F784D
LittlerootTown_BrendansHouse_1F_EventScript_PetalburgGymReport:: @ 81F784D
lockall
setvar VAR_0x8004, 0
setvar VAR_0x8005, 1
goto LittlerootTown_BrendansHouse_1F_EventScript_29286D
setvar VAR_0x8005, 1 @ Object event ID for Mom
goto PlayersHouse_1F_EventScript_PetalburgGymReportMale
end
LittlerootTown_BrendansHouse_1F_EventScript_1F785E:: @ 81F785E
LittlerootTown_BrendansHouse_1F_EventScript_YoureNewNeighbor:: @ 81F785E
lockall
playse SE_PIN
applymovement 4, Common_Movement_ExclamationMark
@@ -95,16 +96,16 @@ LittlerootTown_BrendansHouse_1F_EventScript_1F785E:: @ 81F785E
applymovement 4, Common_Movement_Delay48
waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestLeft
applymovement 4, LittlerootTown_BrendansHouse_1F_Movement_1F789C
applymovement 4, LittlerootTown_BrendansHouse_1F_Movement_RivalMomApproach
waitmovement 0
special GetRivalSonDaughterString
msgbox LittlerootTown_BrendansHouse_1F_Text_1F8BC5, MSGBOX_DEFAULT
msgbox RivalsHouse_1F_Text_OhYoureTheNewNeighbor, MSGBOX_DEFAULT
setflag FLAG_MET_RIVAL_MOM
setvar VAR_LITTLEROOT_HOUSES_STATE, 2
releaseall
end
LittlerootTown_BrendansHouse_1F_Movement_1F789C: @ 81F789C
LittlerootTown_BrendansHouse_1F_Movement_RivalMomApproach: @ 81F789C
walk_down
walk_right
walk_right
@@ -113,34 +114,34 @@ LittlerootTown_BrendansHouse_1F_Movement_1F789C: @ 81F789C
walk_right
step_end
LittlerootTown_BrendansHouse_1F_EventScript_1F78A3:: @ 81F78A3
LittlerootTown_BrendansHouse_1F_EventScript_GoSeeRoom:: @ 81F78A3
lockall
setvar VAR_0x8004, 1
setvar VAR_0x8005, 0
setvar VAR_0x8005, MALE
applymovement VAR_0x8004, Common_Movement_WalkInPlaceFastestLeft
waitmovement 0
goto LittlerootTown_BrendansHouse_1F_EventScript_292765
goto PlayersHouse_1F_EventScript_MomGoSeeRoom
end
LittlerootTown_BrendansHouse_1F_EventScript_1F78BE:: @ 81F78BE
LittlerootTown_BrendansHouse_1F_EventScript_MeetRival0:: @ 81F78BE
lockall
setvar VAR_0x8008, 0
goto LittlerootTown_BrendansHouse_1F_EventScript_1F78E2
goto LittlerootTown_BrendansHouse_1F_EventScript_MeetRival
end
LittlerootTown_BrendansHouse_1F_EventScript_1F78CA:: @ 81F78CA
LittlerootTown_BrendansHouse_1F_EventScript_MeetRival1:: @ 81F78CA
lockall
setvar VAR_0x8008, 1
goto LittlerootTown_BrendansHouse_1F_EventScript_1F78E2
goto LittlerootTown_BrendansHouse_1F_EventScript_MeetRival
end
LittlerootTown_BrendansHouse_1F_EventScript_1F78D6:: @ 81F78D6
LittlerootTown_BrendansHouse_1F_EventScript_MeetRival2:: @ 81F78D6
lockall
setvar VAR_0x8008, 2
goto LittlerootTown_BrendansHouse_1F_EventScript_1F78E2
goto LittlerootTown_BrendansHouse_1F_EventScript_MeetRival
end
LittlerootTown_BrendansHouse_1F_EventScript_1F78E2:: @ 81F78E2
LittlerootTown_BrendansHouse_1F_EventScript_MeetRival:: @ 81F78E2
playse SE_KAIDAN
delay 10
addobject 7
@@ -151,22 +152,22 @@ LittlerootTown_BrendansHouse_1F_EventScript_1F78E2:: @ 81F78E2
applymovement 7, Common_Movement_Delay48
waitmovement 0
compare VAR_0x8008, 1
call_if_ne LittlerootTown_BrendansHouse_1F_EventScript_1F7981
call_if_ne LittlerootTown_BrendansHouse_1F_EventScript_PlayerFaceBrendan
playbgm MUS_BOY_SUP, 1
compare VAR_0x8008, 0
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_1F798C
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_BrendanApproachPlayer0
compare VAR_0x8008, 1
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_1F7997
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_BrendanApproachPlayer1
compare VAR_0x8008, 2
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_1F79A2
msgbox LittlerootTown_BrendansHouse_1F_Text_1F90B4, MSGBOX_DEFAULT
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_BrendanApproachPlayer2
msgbox RivalsHouse_1F_Text_BrendanWhoAreYou, MSGBOX_DEFAULT
closemessage
compare VAR_0x8008, 0
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_1F79C1
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_BrendanGoUpstairs0
compare VAR_0x8008, 1
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_1F79D3
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_BrendanGoUpstairs1
compare VAR_0x8008, 2
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_1F79E5
call_if_eq LittlerootTown_BrendansHouse_1F_EventScript_BrendanGoUpstairs2
playse SE_KAIDAN
removeobject 7
setflag FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_BRENDAN
@@ -180,27 +181,27 @@ LittlerootTown_BrendansHouse_1F_EventScript_1F78E2:: @ 81F78E2
releaseall
end
LittlerootTown_BrendansHouse_1F_EventScript_1F7981:: @ 81F7981
LittlerootTown_BrendansHouse_1F_EventScript_PlayerFaceBrendan:: @ 81F7981
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestDown
waitmovement 0
return
LittlerootTown_BrendansHouse_1F_EventScript_1F798C:: @ 81F798C
applymovement 7, LittlerootTown_BrendansHouse_1F_Movement_1F79AD
LittlerootTown_BrendansHouse_1F_EventScript_BrendanApproachPlayer0:: @ 81F798C
applymovement 7, LittlerootTown_BrendansHouse_1F_Movement_BrendanApproachPlayer0
waitmovement 0
return
LittlerootTown_BrendansHouse_1F_EventScript_1F7997:: @ 81F7997
applymovement 7, LittlerootTown_BrendansHouse_1F_Movement_1F79B5
LittlerootTown_BrendansHouse_1F_EventScript_BrendanApproachPlayer1:: @ 81F7997
applymovement 7, LittlerootTown_BrendansHouse_1F_Movement_BrendanApproachPlayer1
waitmovement 0
return
LittlerootTown_BrendansHouse_1F_EventScript_1F79A2:: @ 81F79A2
applymovement 7, LittlerootTown_BrendansHouse_1F_Movement_1F79B9
LittlerootTown_BrendansHouse_1F_EventScript_BrendanApproachPlayer2:: @ 81F79A2
applymovement 7, LittlerootTown_BrendansHouse_1F_Movement_BrendanApproachPlayer2
waitmovement 0
return
LittlerootTown_BrendansHouse_1F_Movement_1F79AD: @ 81F79AD
LittlerootTown_BrendansHouse_1F_Movement_BrendanApproachPlayer0: @ 81F79AD
walk_in_place_fastest_left
walk_left
walk_in_place_fastest_up
@@ -210,13 +211,13 @@ LittlerootTown_BrendansHouse_1F_Movement_1F79AD: @ 81F79AD
walk_up
step_end
LittlerootTown_BrendansHouse_1F_Movement_1F79B5: @ 81F79B5
LittlerootTown_BrendansHouse_1F_Movement_BrendanApproachPlayer1: @ 81F79B5
walk_up
walk_up
walk_up
step_end
LittlerootTown_BrendansHouse_1F_Movement_1F79B9: @ 81F79B9
LittlerootTown_BrendansHouse_1F_Movement_BrendanApproachPlayer2: @ 81F79B9
walk_in_place_fastest_right
walk_right
walk_in_place_fastest_up
@@ -226,31 +227,31 @@ LittlerootTown_BrendansHouse_1F_Movement_1F79B9: @ 81F79B9
walk_up
step_end
LittlerootTown_BrendansHouse_1F_EventScript_1F79C1:: @ 81F79C1
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_1F_Movement_1F79F7
applymovement 7, LittlerootTown_BrendansHouse_1F_Movement_1F7A06
LittlerootTown_BrendansHouse_1F_EventScript_BrendanGoUpstairs0:: @ 81F79C1
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_1F_Movement_PlayerWatchBrendanExit0
applymovement 7, LittlerootTown_BrendansHouse_1F_Movement_BrendanGoUpstairs0
waitmovement 0
return
LittlerootTown_BrendansHouse_1F_EventScript_1F79D3:: @ 81F79D3
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_1F_Movement_1F79FB
applymovement 7, LittlerootTown_BrendansHouse_1F_Movement_1F7A0C
LittlerootTown_BrendansHouse_1F_EventScript_BrendanGoUpstairs1:: @ 81F79D3
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_1F_Movement_PlayerWatchBrendanExit1
applymovement 7, LittlerootTown_BrendansHouse_1F_Movement_BrendanGoUpstairs1
waitmovement 0
return
LittlerootTown_BrendansHouse_1F_EventScript_1F79E5:: @ 81F79E5
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_1F_Movement_1F7A02
applymovement 7, LittlerootTown_BrendansHouse_1F_Movement_1F7A16
LittlerootTown_BrendansHouse_1F_EventScript_BrendanGoUpstairs2:: @ 81F79E5
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_1F_Movement_PlayerWatchBrendanExit2
applymovement 7, LittlerootTown_BrendansHouse_1F_Movement_BrendanGoUpstairs2
waitmovement 0
return
LittlerootTown_BrendansHouse_1F_Movement_1F79F7: @ 81F79F7
LittlerootTown_BrendansHouse_1F_Movement_PlayerWatchBrendanExit0: @ 81F79F7
delay_16
delay_8
walk_in_place_fastest_right
step_end
LittlerootTown_BrendansHouse_1F_Movement_1F79FB: @ 81F79FB
LittlerootTown_BrendansHouse_1F_Movement_PlayerWatchBrendanExit1: @ 81F79FB
delay_16
delay_8
walk_in_place_fastest_right
@@ -259,13 +260,13 @@ LittlerootTown_BrendansHouse_1F_Movement_1F79FB: @ 81F79FB
walk_in_place_fastest_up
step_end
LittlerootTown_BrendansHouse_1F_Movement_1F7A02: @ 81F7A02
LittlerootTown_BrendansHouse_1F_Movement_PlayerWatchBrendanExit2: @ 81F7A02
delay_16
delay_8
walk_in_place_fastest_left
step_end
LittlerootTown_BrendansHouse_1F_Movement_1F7A06: @ 81F7A06
LittlerootTown_BrendansHouse_1F_Movement_BrendanGoUpstairs0: @ 81F7A06
walk_in_place_fastest_right
walk_right
walk_in_place_fastest_up
@@ -273,7 +274,7 @@ LittlerootTown_BrendansHouse_1F_Movement_1F7A06: @ 81F7A06
walk_up
step_end
LittlerootTown_BrendansHouse_1F_Movement_1F7A0C: @ 81F7A0C
LittlerootTown_BrendansHouse_1F_Movement_BrendanGoUpstairs1: @ 81F7A0C
walk_in_place_fastest_right
walk_right
walk_in_place_fastest_up
@@ -285,7 +286,7 @@ LittlerootTown_BrendansHouse_1F_Movement_1F7A0C: @ 81F7A0C
walk_up
step_end
LittlerootTown_BrendansHouse_1F_Movement_1F7A16: @ 81F7A16
LittlerootTown_BrendansHouse_1F_Movement_BrendanGoUpstairs2: @ 81F7A16
walk_in_place_fastest_left
walk_left
walk_in_place_fastest_up
@@ -293,11 +294,11 @@ LittlerootTown_BrendansHouse_1F_Movement_1F7A16: @ 81F7A16
walk_up
step_end
LittlerootTown_BrendansHouse_1F_Text_1F7A1C: @ 81F7A1C
PlayersHouse_1F_Text_IsntItNiceInHere: @ 81F7A1C
.string "MOM: See, {PLAYER}?\n"
.string "Isn't it nice in here, too?$"
LittlerootTown_BrendansHouse_1F_Text_1F7A46: @ 81F7A46
PlayersHouse_1F_Text_MoversPokemonGoSetClock: @ 81F7A46
.string "The mover's POKéMON do all the work\n"
.string "of moving us in and cleaning up after.\l"
.string "This is so convenient!\p"
@@ -307,91 +308,87 @@ LittlerootTown_BrendansHouse_1F_Text_1F7A46: @ 81F7A46
.string "our move here.\l"
.string "Don't forget to set it!$"
LittlerootTown_BrendansHouse_1F_Text_1F7B24: @ 81F7B24
PlayersHouse_1F_Text_ArentYouInterestedInRoom: @ 81F7B24
.string "MOM: Well, {PLAYER}?\p"
.string "Aren't you interested in seeing your\n"
.string "very own room?$"
LittlerootTown_BrendansHouse_1F_Text_1F7B67: @ 81F7B67
LittlerootTown_MaysHouse_1F_Text_1F7B67: @ 81F7B67
PlayersHouse_1F_Text_GoSetTheClock: @ 81F7B67
.string "MOM: {PLAYER}.\p"
.string "Go set the clock in your room, honey.$"
LittlerootTown_BrendansHouse_1F_Text_1F7B96: @ 81F7B96
PlayersHouse_1F_Text_OhComeQuickly: @ 81F7B96
.string "MOM: Oh! {PLAYER}, {PLAYER}!\n"
.string "Quick! Come quickly!$"
LittlerootTown_BrendansHouse_1F_Text_1F7BBC: @ 81F7BBC
LittlerootTown_MaysHouse_1F_Text_1F7BBC: @ 81F7BBC
PlayersHouse_1F_Text_MaybeDadWillBeOn: @ 81F7BBC
.string "MOM: Look! It's PETALBURG GYM!\n"
.string "Maybe DAD will be on!$"
LittlerootTown_BrendansHouse_1F_Text_1F7BF1: @ 81F7BF1
LittlerootTown_MaysHouse_1F_Text_1F7BF1: @ 81F7BF1
PlayersHouse_1F_Text_ItsOverWeMissedHim: @ 81F7BF1
.string "MOM: Oh… It's over.\p"
.string "I think DAD was on, but we missed him.\n"
.string "Too bad.$"
LittlerootTown_BrendansHouse_1F_Text_1F7C35: @ 81F7C35
LittlerootTown_MaysHouse_1F_Text_1F7C35: @ 81F7C35
PlayersHouse_1F_Text_GoIntroduceYourselfNextDoor: @ 81F7C35
.string "Oh, yes.\n"
.string "One of DAD's friends lives in town.\p"
.string "PROF. BIRCH is his name.\p"
.string "He lives right next door, so you should\n"
.string "go over and introduce yourself.$"
LittlerootTown_BrendansHouse_1F_Text_1F7CC3: @ 81F7CC3
PlayersHouse_1F_Text_SeeYouHoney: @ 81F7CC3
.string "MOM: See you, honey!$"
LittlerootTown_BrendansHouse_1F_Text_1F7CD8: @ 81F7CD8
PlayersHouse_1F_Text_DidYouMeetProfBirch: @ 81F7CD8
.string "MOM: Did you introduce yourself to\n"
.string "PROF. BIRCH?$"
LittlerootTown_BrendansHouse_1F_Text_1F7D08: @ 81F7D08
PlayersHouse_1F_Text_YouShouldRestABit: @ 81F7D08
.string "MOM: How are you doing, {PLAYER}?\n"
.string "You look a little tired.\p"
.string "I think you should rest a bit.$"
LittlerootTown_BrendansHouse_1F_Text_1F7D5C: @ 81F7D5C
PlayersHouse_1F_Text_TakeCareHoney: @ 81F7D5C
.string "MOM: Take care, honey!$"
LittlerootTown_BrendansHouse_1F_Text_1F7D73: @ 81F7D73
PlayersHouse_1F_Text_GotDadsBadgeHeresSomethingFromMom: @ 81F7D73
.string "MOM: Oh? Did DAD give you that BADGE?\p"
.string "Then here's something from your MOM!$"
LittlerootTown_BrendansHouse_1F_Text_1F7DBE: @ 81F7DBE
PlayersHouse_1F_Text_DontPushYourselfTooHard: @ 81F7DBE
.string "Don't push yourself too hard, dear.\n"
.string "You can always come home.\p"
.string "Go for it, honey!$"
LittlerootTown_BrendansHouse_1F_Text_1F7E0E: @ 81F7E0E
PlayersHouse_1F_Text_IsThatAPokenav: @ 81F7E0E
.string "MOM: What is that, honey? A POKéNAV?\n"
.string "Someone from DEVON gave it to you?\p"
.string "Well, honey, how about registering\n"
.string "your mom?\p"
.string "… … …$"
LittlerootTown_BrendansHouse_1F_Text_1F7E89: @ 81F7E89
PlayersHouse_1F_Text_RegisteredMom: @ 81F7E89
.string "Registered MOM\n"
.string "in the POKéNAV.$"
LittlerootTown_BrendansHouse_1F_Text_1F7EA8: @ 81F7EA8
PlayersHouse_1F_Text_Vigoroth1: @ 81F7EA8
.string "Fugiiiiih!$"
LittlerootTown_BrendansHouse_1F_Text_1F7EB3: @ 81F7EB3
PlayersHouse_1F_Text_Vigoroth2: @ 81F7EB3
.string "Huggoh, uggo uggo…$"
LittlerootTown_BrendansHouse_1F_Text_1F7EC6: @ 81F7EC6
PlayersHouse_1F_Text_ReportFromPetalburgGym: @ 81F7EC6
.string "INTERVIEWER: …We brought you this\n"
.string "report from in front of PETALBURG GYM.$"
LittlerootTown_BrendansHouse_1F_Text_1F7F0F: @ 81F7F0F
PlayersHouse_1F_Text_TheresAMovieOnTV: @ 81F7F0F
.string "There is a movie on TV.\p"
.string "Two men are dancing on a big piano\n"
.string "keyboard.\p"
.string "Better get going!$"
LittlerootTown_BrendansHouse_1F_Text_1F7F66: @ 81F7F66
PlayersHouse_1F_Text_RunningShoesManual: @ 81F7F66
.string "It's the instruction booklet for the\n"
.string "RUNNING SHOES.\p"
.string "“Press the B Button to run while\n"
@@ -399,7 +396,7 @@ LittlerootTown_BrendansHouse_1F_Text_1F7F66: @ 81F7F66
.string "“Lace up your RUNNING SHOES and hit\n"
.string "the road running!”$"
LittlerootTown_BrendansHouse_1F_Text_1F800E: @ 81F800E
PlayersHouse_1F_Text_TicketFromBrineyCameForYou: @ 81F800E
.string "DAD: Hm?\p"
.string "Hey, it's {PLAYER}!\p"
.string "It's been a while since I saw you,\n"
@@ -410,26 +407,26 @@ LittlerootTown_BrendansHouse_1F_Text_1F800E: @ 81F800E
.string "This came to you from someone named\l"
.string "MR. BRINEY.$"
LittlerootTown_BrendansHouse_1F_Text_1F80FE: @ 81F80FE
PlayersHouse_1F_Text_PortsInSlateportLilycove: @ 81F80FE
.string "DAD: Hm, a TICKET for a ferry?\p"
.string "If I recall, there are ferry ports in\n"
.string "SLATEPORT and LILYCOVE.$"
LittlerootTown_BrendansHouse_1F_Text_1F815B: @ 81F815B
PlayersHouse_1F_Text_BetterGetBackToGym: @ 81F815B
.string "I'd better get back to PETALBURG GYM.\p"
.string "MOM, thanks for looking after the house\n"
.string "while I'm away.$"
LittlerootTown_BrendansHouse_1F_Text_1F81B9: @ 81F81B9
PlayersHouse_1F_Text_DadShouldStayLonger: @ 81F81B9
.string "MOM: That DAD of yours…\p"
.string "He comes home for the first time in a\n"
.string "while, but all he talks about is POKéMON.\p"
.string "He should relax and stay a little longer.$"
LittlerootTown_BrendansHouse_1F_Text_1F824B: @ 81F824B
PlayersHouse_1F_Text_IsThatABreakingStory: @ 81F824B
.string "MOM: Is that a breaking news story?$"
LittlerootTown_BrendansHouse_1F_Text_1F826F: @ 81F826F
PlayersHouse_1F_Text_LatiEmergencyNewsFlash: @ 81F826F
.string "We bring you this emergency\n"
.string "news flash!\p"
.string "In various HOENN locales, there have\n"
@@ -440,11 +437,11 @@ LittlerootTown_BrendansHouse_1F_Text_1F826F: @ 81F826F
.string "We now return you to the regular\n"
.string "movie program.$"
LittlerootTown_BrendansHouse_1F_Text_1F8351: @ 81F8351
PlayersHouse_1F_Text_WhatColorDidTheySay: @ 81F8351
.string "MOM: {PLAYER}, did you catch that?\p"
.string "What color did the announcer say\n"
.string "that POKéMON was?$"
LittlerootTown_BrendansHouse_1F_Text_1F83A1: @ 81F83A1
PlayersHouse_1F_Text_StillUnknownPokemon: @ 81F83A1
.string "MOM: Well, isn't that something!\n"
.string "There are still unknown POKéMON.$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_BrendansHouse_2F_EventScript_1F94C1",
"script": "RivalsHouse_2F_EventScript_Rival",
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_RIVAL_BEDROOM"
},
{
@@ -206,7 +206,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_BrendansHouse_2F_EventScript_1F8481",
"script": "LittlerootTown_BrendansHouse_2F_EventScript_RivalsPokeBall",
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_2F_POKE_BALL"
},
{
@@ -240,7 +240,7 @@
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "EventScript_PlayerPCMale"
"script": "LittlerootTown_BrendansHouse_2F_EventScript_PC"
},
{
"type": "sign",
@@ -248,7 +248,7 @@
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LittlerootTown_BrendansHouse_2F_EventScript_1F8656"
"script": "PlayersHouse_2F_EventScript_Notebook"
},
{
"type": "sign",
@@ -256,7 +256,7 @@
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LittlerootTown_BrendansHouse_2F_EventScript_292781"
"script": "LittlerootTown_BrendansHouse_2F_EventScript_WallClock"
},
{
"type": "sign",
@@ -264,7 +264,7 @@
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LittlerootTown_BrendansHouse_2F_EventScript_1F865F"
"script": "PlayersHouse_2F_EventScript_GameCube"
}
]
}

View File

@@ -1,70 +1,70 @@
LittlerootTown_BrendansHouse_2F_MapScripts:: @ 81F83E3
map_script MAP_SCRIPT_ON_TRANSITION, LittlerootTown_BrendansHouse_2F_MapScript1_1F83EE
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, LittlerootTown_BrendansHouse_2F_MapScript2_1F846A
map_script MAP_SCRIPT_ON_TRANSITION, LittlerootTown_BrendansHouse_2F_OnTransition
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, LittlerootTown_BrendansHouse_2F_OnWarp
.byte 0
LittlerootTown_BrendansHouse_2F_MapScript1_1F83EE: @ 81F83EE
LittlerootTown_BrendansHouse_2F_OnTransition: @ 81F83EE
compare VAR_LITTLEROOT_RIVAL_STATE, 2
call_if_lt LittlerootTown_BrendansHouse_2F_EventScript_1F8457
call_if_lt LittlerootTown_BrendansHouse_2F_EventScript_CheckSetReadyToMeetBrendan
compare VAR_LITTLEROOT_RIVAL_STATE, 3
call_if_ge LittlerootTown_BrendansHouse_2F_EventScript_1F841A
call_if_ge LittlerootTown_BrendansHouse_2F_EventScript_CheckShouldUpdateBrendanPos
compare VAR_LITTLEROOT_INTRO_STATE, 4
call_if_eq LittlerootTown_BrendansHouse_2F_EventScript_2926FE
call_if_eq PlayersHouse_2F_EventScript_BlockStairsUntilClockIsSet
call SecretBase_EventScript_SetDecorationFlags
setvar VAR_SECRET_BASE_INITIALIZED, 0
end
LittlerootTown_BrendansHouse_2F_EventScript_1F841A:: @ 81F841A
goto_if_set FLAG_MET_RIVAL_LILYCOVE, LittlerootTown_BrendansHouse_2F_EventScript_1F8433
LittlerootTown_BrendansHouse_2F_EventScript_CheckShouldUpdateBrendanPos:: @ 81F841A
goto_if_set FLAG_MET_RIVAL_LILYCOVE, LittlerootTown_BrendansHouse_2F_EventScript_TryUpdateBrendanPos
compare VAR_BIRCH_LAB_STATE, 2
goto_if_ge LittlerootTown_BrendansHouse_2F_EventScript_1F8456
goto LittlerootTown_BrendansHouse_2F_EventScript_1F8433
goto_if_ge LittlerootTown_BrendansHouse_2F_EventScript_Ret
goto LittlerootTown_BrendansHouse_2F_EventScript_TryUpdateBrendanPos
LittlerootTown_BrendansHouse_2F_EventScript_1F8433:: @ 81F8433
LittlerootTown_BrendansHouse_2F_EventScript_TryUpdateBrendanPos:: @ 81F8433
checkplayergender
compare VAR_RESULT, MALE
goto_if_eq LittlerootTown_BrendansHouse_2F_EventScript_1F8456
goto_if_eq LittlerootTown_BrendansHouse_2F_EventScript_Ret
compare VAR_DEX_UPGRADE_JOHTO_STARTER_STATE, 2
goto_if_ge LittlerootTown_BrendansHouse_2F_EventScript_1F9309
goto_if_ge LittlerootTown_MaysHouse_2F_EventScript_Ret @ Odd that the MaysHouse equivalent was used here instead
setobjectxyperm 1, 0, 2
setobjectmovementtype 1, MOVEMENT_TYPE_FACE_UP
return
LittlerootTown_BrendansHouse_2F_EventScript_1F8456:: @ 81F8456
LittlerootTown_BrendansHouse_2F_EventScript_Ret:: @ 81F8456
return
LittlerootTown_BrendansHouse_2F_EventScript_1F8457:: @ 81F8457
LittlerootTown_BrendansHouse_2F_EventScript_CheckSetReadyToMeetBrendan:: @ 81F8457
checkplayergender
compare VAR_RESULT, FEMALE
goto_if_eq LittlerootTown_BrendansHouse_2F_EventScript_1F8464
goto_if_eq LittlerootTown_BrendansHouse_2F_EventScript_SetReadyToMeetBrendan
return
LittlerootTown_BrendansHouse_2F_EventScript_1F8464:: @ 81F8464
LittlerootTown_BrendansHouse_2F_EventScript_SetReadyToMeetBrendan:: @ 81F8464
setvar VAR_LITTLEROOT_RIVAL_STATE, 2
return
LittlerootTown_BrendansHouse_2F_MapScript2_1F846A: @ 81F846A
map_script_2 VAR_SECRET_BASE_INITIALIZED, 0, LittlerootTown_BrendansHouse_2F_EventScript_1F8474
LittlerootTown_BrendansHouse_2F_OnWarp: @ 81F846A
map_script_2 VAR_SECRET_BASE_INITIALIZED, 0, LittlerootTown_BrendansHouse_2F_EventScript_CheckInitDecor
.2byte 0
LittlerootTown_BrendansHouse_2F_EventScript_1F8474:: @ 81F8474
LittlerootTown_BrendansHouse_2F_EventScript_CheckInitDecor:: @ 81F8474
checkplayergender
compare VAR_RESULT, MALE
goto_if_eq SecretBase_EventScript_InitDecorations
end
LittlerootTown_BrendansHouse_2F_EventScript_1F8481:: @ 81F8481
LittlerootTown_BrendansHouse_2F_EventScript_RivalsPokeBall:: @ 81F8481
lockall
compare VAR_LITTLEROOT_RIVAL_STATE, 2
goto_if_eq LittlerootTown_BrendansHouse_2F_EventScript_1F8497
msgbox LittlerootTown_BrendansHouse_2F_Text_1F9991, MSGBOX_DEFAULT
goto_if_eq LittlerootTown_BrendansHouse_2F_EventScript_MeetBrendan
msgbox RivalsHouse_2F_Text_ItsRivalsPokeBall, MSGBOX_DEFAULT
releaseall
end
LittlerootTown_BrendansHouse_2F_EventScript_1F8497:: @ 81F8497
LittlerootTown_BrendansHouse_2F_EventScript_MeetBrendan:: @ 81F8497
delay 10
addobject 1
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_1F85BC
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_BrendanEnters
waitmovement 0
playse SE_PIN
applymovement 1, Common_Movement_ExclamationMark
@@ -74,13 +74,13 @@ LittlerootTown_BrendansHouse_2F_EventScript_1F8497:: @ 81F8497
delay 10
playbgm MUS_BOY_SUP, 1
compare VAR_FACING, DIR_NORTH
call_if_eq LittlerootTown_BrendansHouse_2F_EventScript_1F8507
call_if_eq LittlerootTown_BrendansHouse_2F_EventScript_MeetBrendanNorth
compare VAR_FACING, DIR_SOUTH
call_if_eq LittlerootTown_BrendansHouse_2F_EventScript_1F8536
call_if_eq LittlerootTown_BrendansHouse_2F_EventScript_MeetBrendanSouth
compare VAR_FACING, DIR_WEST
call_if_eq LittlerootTown_BrendansHouse_2F_EventScript_1F8565
call_if_eq LittlerootTown_BrendansHouse_2F_EventScript_MeetBrendanWest
compare VAR_FACING, DIR_EAST
call_if_eq LittlerootTown_BrendansHouse_2F_EventScript_1F8594
call_if_eq LittlerootTown_BrendansHouse_2F_EventScript_MeetBrendanEast
setvar VAR_LITTLEROOT_RIVAL_STATE, 3
setflag FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_2F_POKE_BALL
clearflag FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_RIVAL_BEDROOM
@@ -90,60 +90,60 @@ LittlerootTown_BrendansHouse_2F_EventScript_1F8497:: @ 81F8497
releaseall
end
LittlerootTown_BrendansHouse_2F_EventScript_1F8507:: @ 81F8507
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_1F85C0
LittlerootTown_BrendansHouse_2F_EventScript_MeetBrendanNorth:: @ 81F8507
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_BrendanApproachPlayerNorth
waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestRight
waitmovement 0
msgbox LittlerootTown_BrendansHouse_2F_Text_1F97B4, MSGBOX_DEFAULT
msgbox RivalsHouse_2F_Text_BrendanWhoAreYou, MSGBOX_DEFAULT
closemessage
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_2F_Movement_1F85CF
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_1F85C6
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_2F_Movement_PlayerWatchBrendanNorth
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_BrendanWalkToPCNorth
waitmovement 0
return
LittlerootTown_BrendansHouse_2F_EventScript_1F8536:: @ 81F8536
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_1F85D7
LittlerootTown_BrendansHouse_2F_EventScript_MeetBrendanSouth:: @ 81F8536
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_BrendanApproachPlayerSouth
waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestRight
waitmovement 0
msgbox LittlerootTown_BrendansHouse_2F_Text_1F97B4, MSGBOX_DEFAULT
msgbox RivalsHouse_2F_Text_BrendanWhoAreYou, MSGBOX_DEFAULT
closemessage
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_2F_Movement_1F85E2
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_1F85DB
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_2F_Movement_PlayerWatchBrendanSouth
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_BrendanWalkToPCSouth
waitmovement 0
return
LittlerootTown_BrendansHouse_2F_EventScript_1F8565:: @ 81F8565
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_1F85E8
LittlerootTown_BrendansHouse_2F_EventScript_MeetBrendanWest:: @ 81F8565
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_BrendanApproachPlayerWest
waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestRight
waitmovement 0
msgbox LittlerootTown_BrendansHouse_2F_Text_1F97B4, MSGBOX_DEFAULT
msgbox RivalsHouse_2F_Text_BrendanWhoAreYou, MSGBOX_DEFAULT
closemessage
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_2F_Movement_1F85F6
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_1F85ED
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_BrendansHouse_2F_Movement_PlayerWatchBrendanWest
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_BrendanWalkToPCWest
waitmovement 0
return
LittlerootTown_BrendansHouse_2F_EventScript_1F8594:: @ 81F8594
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_1F85FD
LittlerootTown_BrendansHouse_2F_EventScript_MeetBrendanEast:: @ 81F8594
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_BrendanApproachPlayerEast
waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestUp
waitmovement 0
msgbox LittlerootTown_BrendansHouse_2F_Text_1F97B4, MSGBOX_DEFAULT
msgbox RivalsHouse_2F_Text_BrendanWhoAreYou, MSGBOX_DEFAULT
closemessage
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_1F8604
applymovement 1, LittlerootTown_BrendansHouse_2F_Movement_BrendanWalkToPCEast
waitmovement 0
return
LittlerootTown_BrendansHouse_2F_Movement_1F85BC: @ 81F85BC
LittlerootTown_BrendansHouse_2F_Movement_BrendanEnters: @ 81F85BC
walk_down
walk_down
walk_in_place_fastest_left
step_end
LittlerootTown_BrendansHouse_2F_Movement_1F85C0: @ 81F85C0
LittlerootTown_BrendansHouse_2F_Movement_BrendanApproachPlayerNorth: @ 81F85C0
walk_left
walk_left
walk_down
@@ -151,7 +151,7 @@ LittlerootTown_BrendansHouse_2F_Movement_1F85C0: @ 81F85C0
walk_left
step_end
LittlerootTown_BrendansHouse_2F_Movement_1F85C6: @ 81F85C6
LittlerootTown_BrendansHouse_2F_Movement_BrendanWalkToPCNorth: @ 81F85C6
walk_up
walk_up
walk_up
@@ -162,7 +162,7 @@ LittlerootTown_BrendansHouse_2F_Movement_1F85C6: @ 81F85C6
walk_in_place_fastest_up
step_end
LittlerootTown_BrendansHouse_2F_Movement_1F85CF: @ 81F85CF
LittlerootTown_BrendansHouse_2F_Movement_PlayerWatchBrendanNorth: @ 81F85CF
delay_16
walk_in_place_fastest_up
delay_16
@@ -172,13 +172,13 @@ LittlerootTown_BrendansHouse_2F_Movement_1F85CF: @ 81F85CF
walk_in_place_fastest_left
step_end
LittlerootTown_BrendansHouse_2F_Movement_1F85D7: @ 81F85D7
LittlerootTown_BrendansHouse_2F_Movement_BrendanApproachPlayerSouth: @ 81F85D7
walk_left
walk_left
walk_left
step_end
LittlerootTown_BrendansHouse_2F_Movement_1F85DB: @ 81F85DB
LittlerootTown_BrendansHouse_2F_Movement_BrendanWalkToPCSouth: @ 81F85DB
walk_up
walk_left
walk_left
@@ -187,7 +187,7 @@ LittlerootTown_BrendansHouse_2F_Movement_1F85DB: @ 81F85DB
walk_in_place_fastest_up
step_end
LittlerootTown_BrendansHouse_2F_Movement_1F85E2: @ 81F85E2
LittlerootTown_BrendansHouse_2F_Movement_PlayerWatchBrendanSouth: @ 81F85E2
delay_16
walk_in_place_fastest_up
delay_16
@@ -195,14 +195,14 @@ LittlerootTown_BrendansHouse_2F_Movement_1F85E2: @ 81F85E2
walk_in_place_fastest_left
step_end
LittlerootTown_BrendansHouse_2F_Movement_1F85E8: @ 81F85E8
LittlerootTown_BrendansHouse_2F_Movement_BrendanApproachPlayerWest: @ 81F85E8
walk_left
walk_left
walk_down
walk_in_place_fastest_left
step_end
LittlerootTown_BrendansHouse_2F_Movement_1F85ED: @ 81F85ED
LittlerootTown_BrendansHouse_2F_Movement_BrendanWalkToPCWest: @ 81F85ED
walk_up
walk_up
walk_left
@@ -213,7 +213,7 @@ LittlerootTown_BrendansHouse_2F_Movement_1F85ED: @ 81F85ED
walk_in_place_fastest_up
step_end
LittlerootTown_BrendansHouse_2F_Movement_1F85F6: @ 81F85F6
LittlerootTown_BrendansHouse_2F_Movement_PlayerWatchBrendanWest: @ 81F85F6
delay_8
delay_16
walk_in_place_fastest_up
@@ -222,7 +222,7 @@ LittlerootTown_BrendansHouse_2F_Movement_1F85F6: @ 81F85F6
walk_in_place_fastest_left
step_end
LittlerootTown_BrendansHouse_2F_Movement_1F85FD: @ 81F85FD
LittlerootTown_BrendansHouse_2F_Movement_BrendanApproachPlayerEast: @ 81F85FD
walk_left
walk_left
walk_left
@@ -231,29 +231,30 @@ LittlerootTown_BrendansHouse_2F_Movement_1F85FD: @ 81F85FD
walk_in_place_fastest_down
step_end
LittlerootTown_BrendansHouse_2F_Movement_1F8604: @ 81F8604
LittlerootTown_BrendansHouse_2F_Movement_BrendanWalkToPCEast: @ 81F8604
walk_up
walk_left
walk_left
walk_in_place_fastest_up
step_end
LittlerootTown_BrendansHouse_2F_Movement_1F8609: @ 81F8609
@ Unused, the player is already facing this direction so its unneeded
LittlerootTown_BrendansHouse_2F_Movement_PlayerWatchBrendanEast: @ 81F8609
delay_16
delay_16
walk_in_place_fastest_left
step_end
EventScript_PlayerPCMale:: @ 81F860D
LittlerootTown_BrendansHouse_2F_EventScript_PC:: @ 81F860D
lockall
checkplayergender
compare VAR_RESULT, MALE
goto_if_eq LittlerootTown_BrendansHouse_2F_EventScript_1F8626
goto_if_eq LittlerootTown_BrendansHouse_2F_EventScript_CheckPlayersPC
compare VAR_RESULT, FEMALE
goto_if_eq LittlerootTown_BrendansHouse_2F_EventScript_1F864C
goto_if_eq LittlerootTown_BrendansHouse_2F_EventScript_CheckRivalsPC
end
LittlerootTown_BrendansHouse_2F_EventScript_1F8626:: @ 81F8626
LittlerootTown_BrendansHouse_2F_EventScript_CheckPlayersPC:: @ 81F8626
setvar VAR_0x8004, 1
special DoPCTurnOnEffect
playse SE_PC_ON
@@ -263,33 +264,31 @@ LittlerootTown_BrendansHouse_2F_EventScript_1F8626:: @ 81F8626
releaseall
end
LittlerootTown_BrendansHouse_2F_EventScript_1F863F:: @ 81F863F
LittlerootTown_BrendansHouse_2F_EventScript_TurnOffPlayerPC:: @ 81F863F
setvar VAR_0x8004, 1
playse SE_PC_OFF
special DoPCTurnOffEffect
releaseall
end
LittlerootTown_BrendansHouse_2F_EventScript_1F864C:: @ 81F864C
LittlerootTown_BrendansHouse_2F_EventScript_CheckRivalsPC:: @ 81F864C
msgbox gText_PokemonTrainerSchoolEmail, MSGBOX_DEFAULT
releaseall
end
LittlerootTown_BrendansHouse_2F_EventScript_1F8656:: @ 81F8656
LittlerootTown_MaysHouse_2F_EventScript_1F8656:: @ 81F8656
msgbox LittlerootTown_BrendansHouse_2F_Text_1F877F, MSGBOX_SIGN
PlayersHouse_2F_EventScript_Notebook:: @ 81F8656
msgbox PlayersHouse_2F_Text_Notebook, MSGBOX_SIGN
end
LittlerootTown_BrendansHouse_2F_EventScript_1F865F:: @ 81F865F
LittlerootTown_MaysHouse_2F_EventScript_1F865F:: @ 81F865F
msgbox LittlerootTown_BrendansHouse_2F_Text_1F884F, MSGBOX_SIGN
PlayersHouse_2F_EventScript_GameCube:: @ 81F865F
msgbox PlayersHouse_2F_Text_ItsAGameCube, MSGBOX_SIGN
end
LittlerootTown_BrendansHouse_2F_Text_1F8668: @ 81F8668
PlayersHouse_2F_Text_ClockIsStopped: @ 81F8668
.string "The clock is stopped…\p"
.string "Better set it and start it!$"
LittlerootTown_BrendansHouse_2F_Text_1F869A: @ 81F869A
PlayersHouse_2F_Text_HowDoYouLikeYourRoom: @ 81F869A
.string "MOM: {PLAYER}, how do you like your\n"
.string "new room?\p"
.string "Good! Everything's put away neatly!\p"
@@ -299,7 +298,7 @@ LittlerootTown_BrendansHouse_2F_Text_1F869A: @ 81F869A
.string "Oh, you should make sure that\n"
.string "everything's all there on your desk.$"
LittlerootTown_BrendansHouse_2F_Text_1F877F: @ 81F877F
PlayersHouse_2F_Text_Notebook: @ 81F877F
.string "{PLAYER} flipped open the notebook.\p"
.string "ADVENTURE RULE NO. 1\n"
.string "Open the MENU with START.\p"
@@ -311,7 +310,7 @@ Common_Text_LookCloserAtMap: @ 81F8820
.string "{PLAYER} took a closer look at the\n"
.string "HOENN region map.$"
LittlerootTown_BrendansHouse_2F_Text_1F884F: @ 81F884F
PlayersHouse_2F_Text_ItsAGameCube: @ 81F884F
.string "It's a Nintendo GameCube.\p"
.string "A Game Boy Advance is connected to\n"
.string "serve as the Controller.$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_MaysHouse_1F_EventScript_2929C5",
"script": "PlayersHouse_1F_EventScript_Mom",
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_MOM"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_MaysHouse_1F_EventScript_292ABA",
"script": "PlayersHouse_1F_EventScript_Vigoroth1",
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_PLAYERS_HOUSE_VIGOROTH_1"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_MaysHouse_1F_EventScript_292ACD",
"script": "PlayersHouse_1F_EventScript_Vigoroth2",
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_PLAYERS_HOUSE_VIGOROTH_2"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_MaysHouse_1F_EventScript_1F89F3",
"script": "RivalsHouse_1F_EventScript_RivalMom",
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_RIVAL_MOM"
},
{
@@ -89,7 +89,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_MaysHouse_1F_EventScript_1F8A3D",
"script": "RivalsHouse_1F_EventScript_RivalSibling",
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_RIVAL_SIBLING"
},
{
@@ -103,7 +103,7 @@
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_BRENDAN"
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_MAY"
}
],
"warp_events": [
@@ -137,7 +137,7 @@
"elevation": 0,
"var": "VAR_LITTLEROOT_INTRO_STATE",
"var_value": "4",
"script": "LittlerootTown_MaysHouse_1F_EventScript_1F8A4C"
"script": "LittlerootTown_MaysHouse_1F_EventScript_GoSeeRoom"
},
{
"type": "trigger",
@@ -146,7 +146,7 @@
"elevation": 0,
"var": "VAR_LITTLEROOT_RIVAL_STATE",
"var_value": "2",
"script": "LittlerootTown_MaysHouse_1F_EventScript_1F8A67"
"script": "LittlerootTown_MaysHouse_1F_EventScript_MeetRival0"
},
{
"type": "trigger",
@@ -155,7 +155,7 @@
"elevation": 0,
"var": "VAR_LITTLEROOT_RIVAL_STATE",
"var_value": "2",
"script": "LittlerootTown_MaysHouse_1F_EventScript_1F8A73"
"script": "LittlerootTown_MaysHouse_1F_EventScript_MeetRival1"
},
{
"type": "trigger",
@@ -164,7 +164,7 @@
"elevation": 0,
"var": "VAR_LITTLEROOT_RIVAL_STATE",
"var_value": "2",
"script": "LittlerootTown_MaysHouse_1F_EventScript_1F8A7F"
"script": "LittlerootTown_MaysHouse_1F_EventScript_MeetRival2"
}
],
"bg_events": []

View File

@@ -1,93 +1,94 @@
LittlerootTown_MaysHouse_1F_MapScripts:: @ 81F88A5
map_script MAP_SCRIPT_ON_LOAD, LittlerootTown_MaysHouse_1F_MapScript1_1F88B5
map_script MAP_SCRIPT_ON_TRANSITION, LittlerootTown_MaysHouse_1F_MapScript1_1F88F4
map_script MAP_SCRIPT_ON_FRAME_TABLE, LittlerootTown_MaysHouse_1F_MapScript2_1F893A
map_script MAP_SCRIPT_ON_LOAD, LittlerootTown_MaysHouse_1F_OnLoad
map_script MAP_SCRIPT_ON_TRANSITION, LittlerootTown_MaysHouse_1F_OnTransition
map_script MAP_SCRIPT_ON_FRAME_TABLE, LittlerootTown_MaysHouse_1F_OnFrame
.byte 0
LittlerootTown_MaysHouse_1F_MapScript1_1F88B5: @ 81F88B5
LittlerootTown_MaysHouse_1F_OnLoad: @ 81F88B5
compare VAR_LITTLEROOT_INTRO_STATE, 6
call_if_lt LittlerootTown_MaysHouse_1F_EventScript_1F88CA
call_if_set FLAG_RECEIVED_RUNNING_SHOES, LittlerootTown_MaysHouse_1F_EventScript_1F88DD
call_if_lt LittlerootTown_MaysHouse_1F_EventScript_SetMovingBoxes
call_if_set FLAG_RECEIVED_RUNNING_SHOES, LittlerootTown_MaysHouse_1F_EventScript_CheckShowShoesManual
end
LittlerootTown_MaysHouse_1F_EventScript_1F88CA:: @ 81F88CA
LittlerootTown_MaysHouse_1F_EventScript_SetMovingBoxes:: @ 81F88CA
setmetatile 5, 4, METATILE_BrendansMaysHouse_MovingBox_Open, 1
setmetatile 5, 2, METATILE_BrendansMaysHouse_MovingBox_Closed, 1
return
LittlerootTown_MaysHouse_1F_EventScript_1F88DD:: @ 81F88DD
LittlerootTown_MaysHouse_1F_EventScript_CheckShowShoesManual:: @ 81F88DD
checkplayergender
compare VAR_RESULT, FEMALE
goto_if_eq LittlerootTown_MaysHouse_1F_EventScript_1F88EA
goto_if_eq LittlerootTown_MaysHouse_1F_EventScript_ShowRunningShoesManual
return
LittlerootTown_MaysHouse_1F_EventScript_1F88EA:: @ 81F88EA
LittlerootTown_MaysHouse_1F_EventScript_ShowRunningShoesManual:: @ 81F88EA
setmetatile 6, 7, METATILE_BrendansMaysHouse_BookOnTable, 1
return
LittlerootTown_MaysHouse_1F_MapScript1_1F88F4: @ 81F88F4
LittlerootTown_MaysHouse_1F_OnTransition: @ 81F88F4
compare VAR_LITTLEROOT_INTRO_STATE, 3
call_if_eq LittlerootTown_MaysHouse_1F_EventScript_1F892E
call_if_eq LittlerootTown_MaysHouse_1F_EventScript_MoveMomToDoor
compare VAR_LITTLEROOT_INTRO_STATE, 5
call_if_eq LittlerootTown_MaysHouse_1F_EventScript_1F8916
call_if_eq LittlerootTown_MaysHouse_1F_EventScript_MoveMomToStairs
compare VAR_LITTLEROOT_INTRO_STATE, 6
call_if_eq LittlerootTown_MaysHouse_1F_EventScript_1F8922
call_if_eq LittlerootTown_MaysHouse_1F_EventScript_MoveMomToTV
end
LittlerootTown_MaysHouse_1F_EventScript_1F8916:: @ 81F8916
LittlerootTown_MaysHouse_1F_EventScript_MoveMomToStairs:: @ 81F8916
setobjectxyperm 1, 2, 4
setobjectmovementtype 1, MOVEMENT_TYPE_FACE_UP
return
LittlerootTown_MaysHouse_1F_EventScript_1F8922:: @ 81F8922
LittlerootTown_MaysHouse_1F_EventScript_MoveMomToTV:: @ 81F8922
setobjectxyperm 1, 6, 5
setobjectmovementtype 1, MOVEMENT_TYPE_FACE_UP
return
LittlerootTown_MaysHouse_1F_EventScript_1F892E:: @ 81F892E
LittlerootTown_MaysHouse_1F_EventScript_MoveMomToDoor:: @ 81F892E
setobjectxyperm 1, 1, 8
setobjectmovementtype 1, MOVEMENT_TYPE_FACE_UP
return
LittlerootTown_MaysHouse_1F_MapScript2_1F893A: @ 81F893A
map_script_2 VAR_LITTLEROOT_INTRO_STATE, 3, LittlerootTown_MaysHouse_1F_EventScript_1F898C
map_script_2 VAR_LITTLEROOT_INTRO_STATE, 5, LittlerootTown_MaysHouse_1F_EventScript_1F8964
map_script_2 VAR_LITTLEROOT_INTRO_STATE, 6, LittlerootTown_MaysHouse_1F_EventScript_1F899D
map_script_2 VAR_LITTLEROOT_HOUSES_STATE_2, 1, LittlerootTown_MaysHouse_1F_EventScript_1F89AE
map_script_2 VAR_LITTLEROOT_HOUSES_STATE, 3, LittlerootTown_MaysHouse_1F_EventScript_292AF2
@ Many of the below scripts have no gender check because they assume youre in the correct house
LittlerootTown_MaysHouse_1F_OnFrame: @ 81F893A
map_script_2 VAR_LITTLEROOT_INTRO_STATE, 3, LittlerootTown_MaysHouse_1F_EventScript_EnterHouseMovingIn
map_script_2 VAR_LITTLEROOT_INTRO_STATE, 5, LittlerootTown_MaysHouse_1F_EventScript_GoUpstairsToSetClock
map_script_2 VAR_LITTLEROOT_INTRO_STATE, 6, LittlerootTown_MaysHouse_1F_EventScript_PetalburgGymReport
map_script_2 VAR_LITTLEROOT_HOUSES_STATE_2, 1, LittlerootTown_MaysHouse_1F_EventScript_YoureNewNeighbor
map_script_2 VAR_LITTLEROOT_HOUSES_STATE, 3, PlayersHouse_1F_EventScript_GetSSTicketAndSeeLatiTV
.2byte 0
LittlerootTown_MaysHouse_1F_EventScript_1F8964:: @ 81F8964
LittlerootTown_MaysHouse_1F_EventScript_GoUpstairsToSetClock:: @ 81F8964
lockall
msgbox LittlerootTown_MaysHouse_1F_Text_1F7B67, MSGBOX_DEFAULT
msgbox PlayersHouse_1F_Text_GoSetTheClock, MSGBOX_DEFAULT
closemessage
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_MaysHouse_1F_Movement_1F898A
applymovement 1, LittlerootTown_MaysHouse_1F_Movement_1F898A
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_MaysHouse_1F_Movement_PushTowardStairs
applymovement 1, LittlerootTown_MaysHouse_1F_Movement_PushTowardStairs
waitmovement 0
warp MAP_LITTLEROOT_TOWN_MAYS_HOUSE_2F, 255, 1, 1
waitstate
releaseall
end
LittlerootTown_MaysHouse_1F_Movement_1F898A: @ 81F898A
LittlerootTown_MaysHouse_1F_Movement_PushTowardStairs: @ 81F898A
walk_up
step_end
LittlerootTown_MaysHouse_1F_EventScript_1F898C:: @ 81F898C
LittlerootTown_MaysHouse_1F_EventScript_EnterHouseMovingIn:: @ 81F898C
lockall
setvar VAR_0x8004, 1
setvar VAR_0x8005, FEMALE
goto PlayersHouse_1F_EventScript_EnterHouseMovingIn
end
LittlerootTown_MaysHouse_1F_EventScript_PetalburgGymReport:: @ 81F899D
lockall
setvar VAR_0x8004, 1
setvar VAR_0x8005, 1
goto LittlerootTown_MaysHouse_1F_EventScript_292704
goto PlayersHouse_1F_EventScript_PetalburgGymReportFemale
end
LittlerootTown_MaysHouse_1F_EventScript_1F899D:: @ 81F899D
lockall
setvar VAR_0x8004, 1
setvar VAR_0x8005, 1
goto LittlerootTown_MaysHouse_1F_EventScript_2928DC
end
LittlerootTown_MaysHouse_1F_EventScript_1F89AE:: @ 81F89AE
LittlerootTown_MaysHouse_1F_EventScript_YoureNewNeighbor:: @ 81F89AE
lockall
playse SE_PIN
applymovement 4, Common_Movement_ExclamationMark
@@ -95,16 +96,16 @@ LittlerootTown_MaysHouse_1F_EventScript_1F89AE:: @ 81F89AE
applymovement 4, Common_Movement_Delay48
waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestRight
applymovement 4, LittlerootTown_MaysHouse_1F_Movement_1F89EC
applymovement 4, LittlerootTown_MaysHouse_1F_Movement_RivalMomApproach
waitmovement 0
special GetRivalSonDaughterString
msgbox LittlerootTown_MaysHouse_1F_Text_1F8BC5, MSGBOX_DEFAULT
msgbox RivalsHouse_1F_Text_OhYoureTheNewNeighbor, MSGBOX_DEFAULT
setflag FLAG_MET_RIVAL_MOM
setvar VAR_LITTLEROOT_HOUSES_STATE_2, 2
releaseall
end
LittlerootTown_MaysHouse_1F_Movement_1F89EC: @ 81F89EC
LittlerootTown_MaysHouse_1F_Movement_RivalMomApproach: @ 81F89EC
walk_down
walk_left
walk_left
@@ -113,71 +114,69 @@ LittlerootTown_MaysHouse_1F_Movement_1F89EC: @ 81F89EC
walk_left
step_end
LittlerootTown_BrendansHouse_1F_EventScript_1F89F3:: @ 81F89F3
LittlerootTown_MaysHouse_1F_EventScript_1F89F3:: @ 81F89F3
RivalsHouse_1F_EventScript_RivalMom:: @ 81F89F3
lock
faceplayer
goto_if_set FLAG_DEFEATED_RIVAL_ROUTE103, LittlerootTown_BrendansHouse_1F_EventScript_1F8A33
goto_if_set FLAG_SYS_POKEMON_GET, LittlerootTown_BrendansHouse_1F_EventScript_1F8A29
goto_if_set FLAG_DEFEATED_RIVAL_ROUTE103, RivalsHouse_1F_EventScript_GoHomeEverySoOften
goto_if_set FLAG_SYS_POKEMON_GET, RivalsHouse_1F_EventScript_RivalIsOnRoute103
compare VAR_LITTLEROOT_RIVAL_STATE, 3
goto_if_eq LittlerootTown_BrendansHouse_1F_EventScript_1F8A1F
goto_if_eq RivalsHouse_1F_EventScript_RivalTooBusy
special GetRivalSonDaughterString
msgbox LittlerootTown_BrendansHouse_1F_Text_1F8CA5, MSGBOX_DEFAULT
msgbox RivalsHouse_1F_Text_LikeChildLikeFather, MSGBOX_DEFAULT
release
end
LittlerootTown_BrendansHouse_1F_EventScript_1F8A1F:: @ 81F8A1F
msgbox LittlerootTown_BrendansHouse_1F_Text_1F8D37, MSGBOX_DEFAULT
RivalsHouse_1F_EventScript_RivalTooBusy:: @ 81F8A1F
msgbox RivalsHouse_1F_Text_TooBusyToNoticeVisit, MSGBOX_DEFAULT
release
end
LittlerootTown_BrendansHouse_1F_EventScript_1F8A29:: @ 81F8A29
msgbox LittlerootTown_BrendansHouse_1F_Text_1F8D93, MSGBOX_DEFAULT
RivalsHouse_1F_EventScript_RivalIsOnRoute103:: @ 81F8A29
msgbox RivalsHouse_1F_Text_WentOutToRoute103, MSGBOX_DEFAULT
release
end
LittlerootTown_BrendansHouse_1F_EventScript_1F8A33:: @ 81F8A33
msgbox LittlerootTown_BrendansHouse_1F_Text_1F8E01, MSGBOX_DEFAULT
RivalsHouse_1F_EventScript_GoHomeEverySoOften:: @ 81F8A33
msgbox RivalsHouse_1F_Text_ShouldGoHomeEverySoOften, MSGBOX_DEFAULT
release
end
LittlerootTown_BrendansHouse_1F_EventScript_1F8A3D:: @ 81F8A3D
LittlerootTown_MaysHouse_1F_EventScript_1F8A3D:: @ 81F8A3D
RivalsHouse_1F_EventScript_RivalSibling:: @ 81F8A3D
lock
faceplayer
special GetPlayerBigGuyGirlString
msgbox LittlerootTown_BrendansHouse_1F_Text_1F9262, MSGBOX_DEFAULT
msgbox RivalsHouse_1F_Text_DoYouHavePokemon, MSGBOX_DEFAULT
release
end
LittlerootTown_MaysHouse_1F_EventScript_1F8A4C:: @ 81F8A4C
LittlerootTown_MaysHouse_1F_EventScript_GoSeeRoom:: @ 81F8A4C
lockall
setvar VAR_0x8004, 1
setvar VAR_0x8005, 1
setvar VAR_0x8005, FEMALE
applymovement VAR_0x8004, Common_Movement_WalkInPlaceFastestRight
waitmovement 0
goto LittlerootTown_MaysHouse_1F_EventScript_292765
goto PlayersHouse_1F_EventScript_MomGoSeeRoom
end
LittlerootTown_MaysHouse_1F_EventScript_1F8A67:: @ 81F8A67
LittlerootTown_MaysHouse_1F_EventScript_MeetRival0:: @ 81F8A67
lockall
setvar VAR_0x8008, 0
goto LittlerootTown_MaysHouse_1F_EventScript_1F8A8B
goto LittlerootTown_MaysHouse_1F_EventScript_MeetRival
end
LittlerootTown_MaysHouse_1F_EventScript_1F8A73:: @ 81F8A73
LittlerootTown_MaysHouse_1F_EventScript_MeetRival1:: @ 81F8A73
lockall
setvar VAR_0x8008, 1
goto LittlerootTown_MaysHouse_1F_EventScript_1F8A8B
goto LittlerootTown_MaysHouse_1F_EventScript_MeetRival
end
LittlerootTown_MaysHouse_1F_EventScript_1F8A7F:: @ 81F8A7F
LittlerootTown_MaysHouse_1F_EventScript_MeetRival2:: @ 81F8A7F
lockall
setvar VAR_0x8008, 2
goto LittlerootTown_MaysHouse_1F_EventScript_1F8A8B
goto LittlerootTown_MaysHouse_1F_EventScript_MeetRival
end
LittlerootTown_MaysHouse_1F_EventScript_1F8A8B:: @ 81F8A8B
LittlerootTown_MaysHouse_1F_EventScript_MeetRival:: @ 81F8A8B
playse SE_KAIDAN
delay 10
addobject 7
@@ -188,25 +187,25 @@ LittlerootTown_MaysHouse_1F_EventScript_1F8A8B:: @ 81F8A8B
applymovement 7, Common_Movement_Delay48
waitmovement 0
compare VAR_0x8008, 1
call_if_ne LittlerootTown_MaysHouse_1F_EventScript_1F8B2A
call_if_ne LittlerootTown_MaysHouse_1F_EventScript_PlayerFaceMay
playbgm MUS_GIRL_SUP, 1
compare VAR_0x8008, 0
call_if_eq LittlerootTown_MaysHouse_1F_EventScript_1F8B35
call_if_eq LittlerootTown_MaysHouse_1F_EventScript_MayApproachPlayer0
compare VAR_0x8008, 1
call_if_eq LittlerootTown_MaysHouse_1F_EventScript_1F8B40
call_if_eq LittlerootTown_MaysHouse_1F_EventScript_MayApproachPlayer1
compare VAR_0x8008, 2
call_if_eq LittlerootTown_MaysHouse_1F_EventScript_1F8B4B
msgbox LittlerootTown_MaysHouse_1F_Text_1F8EC6, MSGBOX_DEFAULT
call_if_eq LittlerootTown_MaysHouse_1F_EventScript_MayApproachPlayer2
msgbox RivalsHouse_1F_Text_MayWhoAreYou, MSGBOX_DEFAULT
closemessage
compare VAR_0x8008, 0
call_if_eq LittlerootTown_MaysHouse_1F_EventScript_1F8B6A
call_if_eq LittlerootTown_MaysHouse_1F_EventScript_MayGoUpstairs0
compare VAR_0x8008, 1
call_if_eq LittlerootTown_MaysHouse_1F_EventScript_1F8B7C
call_if_eq LittlerootTown_MaysHouse_1F_EventScript_MayGoUpstairs1
compare VAR_0x8008, 2
call_if_eq LittlerootTown_MaysHouse_1F_EventScript_1F8B8E
call_if_eq LittlerootTown_MaysHouse_1F_EventScript_MayGoUpstairs2
playse SE_KAIDAN
removeobject 7
setflag FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_BRENDAN
setflag FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_MAY
setflag FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_2F_POKE_BALL
clearflag FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_RIVAL_BEDROOM
delay 30
@@ -217,27 +216,27 @@ LittlerootTown_MaysHouse_1F_EventScript_1F8A8B:: @ 81F8A8B
releaseall
end
LittlerootTown_MaysHouse_1F_EventScript_1F8B2A:: @ 81F8B2A
LittlerootTown_MaysHouse_1F_EventScript_PlayerFaceMay:: @ 81F8B2A
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestDown
waitmovement 0
return
LittlerootTown_MaysHouse_1F_EventScript_1F8B35:: @ 81F8B35
applymovement 7, LittlerootTown_MaysHouse_1F_Movement_1F8B56
LittlerootTown_MaysHouse_1F_EventScript_MayApproachPlayer0:: @ 81F8B35
applymovement 7, LittlerootTown_MaysHouse_1F_Movement_MayApproachPlayer0
waitmovement 0
return
LittlerootTown_MaysHouse_1F_EventScript_1F8B40:: @ 81F8B40
applymovement 7, LittlerootTown_MaysHouse_1F_Movement_1F8B5E
LittlerootTown_MaysHouse_1F_EventScript_MayApproachPlayer1:: @ 81F8B40
applymovement 7, LittlerootTown_MaysHouse_1F_Movement_MayApproachPlayer1
waitmovement 0
return
LittlerootTown_MaysHouse_1F_EventScript_1F8B4B:: @ 81F8B4B
applymovement 7, LittlerootTown_MaysHouse_1F_Movement_1F8B62
LittlerootTown_MaysHouse_1F_EventScript_MayApproachPlayer2:: @ 81F8B4B
applymovement 7, LittlerootTown_MaysHouse_1F_Movement_MayApproachPlayer2
waitmovement 0
return
LittlerootTown_MaysHouse_1F_Movement_1F8B56: @ 81F8B56
LittlerootTown_MaysHouse_1F_Movement_MayApproachPlayer0: @ 81F8B56
walk_in_place_fastest_left
walk_left
walk_in_place_fastest_up
@@ -247,13 +246,13 @@ LittlerootTown_MaysHouse_1F_Movement_1F8B56: @ 81F8B56
walk_up
step_end
LittlerootTown_MaysHouse_1F_Movement_1F8B5E: @ 81F8B5E
LittlerootTown_MaysHouse_1F_Movement_MayApproachPlayer1: @ 81F8B5E
walk_up
walk_up
walk_up
step_end
LittlerootTown_MaysHouse_1F_Movement_1F8B62: @ 81F8B62
LittlerootTown_MaysHouse_1F_Movement_MayApproachPlayer2: @ 81F8B62
walk_in_place_fastest_right
walk_right
walk_in_place_fastest_up
@@ -263,31 +262,31 @@ LittlerootTown_MaysHouse_1F_Movement_1F8B62: @ 81F8B62
walk_up
step_end
LittlerootTown_MaysHouse_1F_EventScript_1F8B6A:: @ 81F8B6A
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_MaysHouse_1F_Movement_1F8BA0
applymovement 7, LittlerootTown_MaysHouse_1F_Movement_1F8BAF
LittlerootTown_MaysHouse_1F_EventScript_MayGoUpstairs0:: @ 81F8B6A
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_MaysHouse_1F_Movement_PlayerWatchMayExit0
applymovement 7, LittlerootTown_MaysHouse_1F_Movement_MayGoUpstairs0
waitmovement 0
return
LittlerootTown_MaysHouse_1F_EventScript_1F8B7C:: @ 81F8B7C
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_MaysHouse_1F_Movement_1F8BA4
applymovement 7, LittlerootTown_MaysHouse_1F_Movement_1F8BB5
LittlerootTown_MaysHouse_1F_EventScript_MayGoUpstairs1:: @ 81F8B7C
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_MaysHouse_1F_Movement_PlayerWatchMayExit1
applymovement 7, LittlerootTown_MaysHouse_1F_Movement_MayGoUpstairs1
waitmovement 0
return
LittlerootTown_MaysHouse_1F_EventScript_1F8B8E:: @ 81F8B8E
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_MaysHouse_1F_Movement_1F8BAB
applymovement 7, LittlerootTown_MaysHouse_1F_Movement_1F8BBF
LittlerootTown_MaysHouse_1F_EventScript_MayGoUpstairs2:: @ 81F8B8E
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_MaysHouse_1F_Movement_PlayerWatchMayExit2
applymovement 7, LittlerootTown_MaysHouse_1F_Movement_MayGoUpstairs2
waitmovement 0
return
LittlerootTown_MaysHouse_1F_Movement_1F8BA0: @ 81F8BA0
LittlerootTown_MaysHouse_1F_Movement_PlayerWatchMayExit0: @ 81F8BA0
delay_16
delay_8
walk_in_place_fastest_right
step_end
LittlerootTown_MaysHouse_1F_Movement_1F8BA4: @ 81F8BA4
LittlerootTown_MaysHouse_1F_Movement_PlayerWatchMayExit1: @ 81F8BA4
delay_16
delay_8
walk_in_place_fastest_right
@@ -296,13 +295,13 @@ LittlerootTown_MaysHouse_1F_Movement_1F8BA4: @ 81F8BA4
walk_in_place_fastest_up
step_end
LittlerootTown_MaysHouse_1F_Movement_1F8BAB: @ 81F8BAB
LittlerootTown_MaysHouse_1F_Movement_PlayerWatchMayExit2: @ 81F8BAB
delay_16
delay_8
walk_in_place_fastest_left
step_end
LittlerootTown_MaysHouse_1F_Movement_1F8BAF: @ 81F8BAF
LittlerootTown_MaysHouse_1F_Movement_MayGoUpstairs0: @ 81F8BAF
walk_in_place_fastest_right
walk_right
walk_in_place_fastest_up
@@ -310,7 +309,7 @@ LittlerootTown_MaysHouse_1F_Movement_1F8BAF: @ 81F8BAF
walk_up
step_end
LittlerootTown_MaysHouse_1F_Movement_1F8BB5: @ 81F8BB5
LittlerootTown_MaysHouse_1F_Movement_MayGoUpstairs1: @ 81F8BB5
walk_in_place_fastest_right
walk_right
walk_in_place_fastest_up
@@ -322,7 +321,7 @@ LittlerootTown_MaysHouse_1F_Movement_1F8BB5: @ 81F8BB5
walk_up
step_end
LittlerootTown_MaysHouse_1F_Movement_1F8BBF: @ 81F8BBF
LittlerootTown_MaysHouse_1F_Movement_MayGoUpstairs2: @ 81F8BBF
walk_in_place_fastest_left
walk_left
walk_in_place_fastest_up
@@ -330,8 +329,7 @@ LittlerootTown_MaysHouse_1F_Movement_1F8BBF: @ 81F8BBF
walk_up
step_end
LittlerootTown_BrendansHouse_1F_Text_1F8BC5: @ 81F8BC5
LittlerootTown_MaysHouse_1F_Text_1F8BC5: @ 81F8BC5
RivalsHouse_1F_Text_OhYoureTheNewNeighbor: @ 81F8BC5
.string "Oh, hello. And you are?\p"
.string "… … … … … … … … …\n"
.string "… … … … … … … … …\p"
@@ -343,26 +341,26 @@ LittlerootTown_MaysHouse_1F_Text_1F8BC5: @ 81F8BC5
.string "a new friend.\p"
.string "Our {STR_VAR_1} is upstairs, I think.$"
LittlerootTown_BrendansHouse_1F_Text_1F8CA5: @ 81F8CA5
RivalsHouse_1F_Text_LikeChildLikeFather: @ 81F8CA5
.string "Like child, like father.\p"
.string "My husband is as wild about POKéMON\n"
.string "as our child.\p"
.string "If he's not at his LAB, he's likely\n"
.string "scrabbling about in grassy places.$"
LittlerootTown_BrendansHouse_1F_Text_1F8D37: @ 81F8D37
RivalsHouse_1F_Text_TooBusyToNoticeVisit: @ 81F8D37
.string "That {RIVAL}!\p"
.string "I guess our child is too busy with\n"
.string "POKéMON to notice that you came\l"
.string "to visit, {PLAYER}{KUN}.$"
LittlerootTown_BrendansHouse_1F_Text_1F8D93: @ 81F8D93
RivalsHouse_1F_Text_WentOutToRoute103: @ 81F8D93
.string "Oh, {RIVAL} went out to ROUTE 103\n"
.string "just a little while ago.\p"
.string "Like father, like child.\n"
.string "{RIVAL} can't stay quietly at home.$"
LittlerootTown_BrendansHouse_1F_Text_1F8E01: @ 81F8E01
RivalsHouse_1F_Text_ShouldGoHomeEverySoOften: @ 81F8E01
.string "I think it's wonderful for people to\n"
.string "travel with POKéMON.\p"
.string "But you should go home every so often\n"
@@ -370,7 +368,7 @@ LittlerootTown_BrendansHouse_1F_Text_1F8E01: @ 81F8E01
.string "She might not say it, but I'm sure she\n"
.string "worries about you, {PLAYER}{KUN}.$"
LittlerootTown_MaysHouse_1F_Text_1F8EC6: @ 81F8EC6
RivalsHouse_1F_Text_MayWhoAreYou: @ 81F8EC6
.string "Huh?\n"
.string "Who… Who are you?\p"
.string "… … … … … … … …\n"
@@ -394,7 +392,7 @@ LittlerootTown_MaysHouse_1F_Text_1F8EC6: @ 81F8EC6
.string "some wild POKéMON!\p"
.string "{PLAYER}{KUN}, I'll catch you later!$"
LittlerootTown_BrendansHouse_1F_Text_1F90B4: @ 81F90B4
RivalsHouse_1F_Text_BrendanWhoAreYou: @ 81F90B4
.string "Hey!\n"
.string "You…\p"
.string "Who are you?\p"
@@ -414,7 +412,7 @@ LittlerootTown_BrendansHouse_1F_Text_1F90B4: @ 81F90B4
.string "some wild POKéMON.\p"
.string "Some other time, okay?$"
LittlerootTown_BrendansHouse_1F_Text_1F9262: @ 81F9262
RivalsHouse_1F_Text_DoYouHavePokemon: @ 81F9262
.string "Hi, neighbor!\p"
.string "Do you already have your\n"
.string "own POKéMON?$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_MaysHouse_2F_EventScript_1F94C1",
"script": "RivalsHouse_2F_EventScript_Rival",
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_RIVAL_BEDROOM"
},
{
@@ -219,7 +219,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LittlerootTown_MaysHouse_2F_EventScript_1F9334",
"script": "LittlerootTown_MaysHouse_2F_EventScript_RivalsPokeBall",
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_2F_POKE_BALL"
}
],
@@ -240,7 +240,7 @@
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LittlerootTown_MaysHouse_2F_EventScript_1F865F"
"script": "PlayersHouse_2F_EventScript_GameCube"
},
{
"type": "sign",
@@ -248,7 +248,7 @@
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LittlerootTown_MaysHouse_2F_EventScript_1F8656"
"script": "PlayersHouse_2F_EventScript_Notebook"
},
{
"type": "sign",
@@ -256,7 +256,7 @@
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LittlerootTown_MaysHouse_2F_EventScript_29278D"
"script": "LittlerootTown_MaysHouse_2F_EventScript_WallClock"
},
{
"type": "sign",
@@ -264,7 +264,7 @@
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "EventScript_PlayerPCFemale"
"script": "LittlerootTown_MaysHouse_2F_EventScript_PC"
}
]
}

View File

@@ -1,71 +1,70 @@
LittlerootTown_MaysHouse_2F_MapScripts:: @ 81F9296
map_script MAP_SCRIPT_ON_TRANSITION, LittlerootTown_MaysHouse_2F_MapScript1_1F92A1
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, LittlerootTown_MaysHouse_2F_MapScript2_1F931D
map_script MAP_SCRIPT_ON_TRANSITION, LittlerootTown_MaysHouse_2F_OnTransition
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, LittlerootTown_MaysHouse_2F_OnWarp
.byte 0
LittlerootTown_MaysHouse_2F_MapScript1_1F92A1: @ 81F92A1
LittlerootTown_MaysHouse_2F_OnTransition: @ 81F92A1
compare VAR_LITTLEROOT_RIVAL_STATE, 2
call_if_lt LittlerootTown_MaysHouse_2F_EventScript_1F930A
call_if_lt LittlerootTown_MaysHouse_2F_EventScript_CheckSetReadyToMeetMay
compare VAR_LITTLEROOT_RIVAL_STATE, 3
call_if_ge LittlerootTown_MaysHouse_2F_EventScript_1F92CD
call_if_ge LittlerootTown_MaysHouse_2F_EventScript_CheckShouldUpdateMayPos
compare VAR_LITTLEROOT_INTRO_STATE, 4
call_if_eq LittlerootTown_MaysHouse_2F_EventScript_2926FE
call_if_eq PlayersHouse_2F_EventScript_BlockStairsUntilClockIsSet
call SecretBase_EventScript_SetDecorationFlags
setvar VAR_SECRET_BASE_INITIALIZED, 0
end
LittlerootTown_MaysHouse_2F_EventScript_1F92CD:: @ 81F92CD
goto_if_set FLAG_MET_RIVAL_LILYCOVE, LittlerootTown_MaysHouse_2F_EventScript_1F92E6
LittlerootTown_MaysHouse_2F_EventScript_CheckShouldUpdateMayPos:: @ 81F92CD
goto_if_set FLAG_MET_RIVAL_LILYCOVE, LittlerootTown_MaysHouse_2F_EventScript_TryUpdateMayPos
compare VAR_BIRCH_LAB_STATE, 2
goto_if_ge LittlerootTown_MaysHouse_2F_EventScript_1F9309
goto LittlerootTown_MaysHouse_2F_EventScript_1F92E6
goto_if_ge LittlerootTown_MaysHouse_2F_EventScript_Ret
goto LittlerootTown_MaysHouse_2F_EventScript_TryUpdateMayPos
LittlerootTown_MaysHouse_2F_EventScript_1F92E6:: @ 81F92E6
LittlerootTown_MaysHouse_2F_EventScript_TryUpdateMayPos:: @ 81F92E6
checkplayergender
compare VAR_RESULT, FEMALE
goto_if_eq LittlerootTown_MaysHouse_2F_EventScript_1F9309
goto_if_eq LittlerootTown_MaysHouse_2F_EventScript_Ret
compare VAR_DEX_UPGRADE_JOHTO_STARTER_STATE, 2
goto_if_ge LittlerootTown_MaysHouse_2F_EventScript_1F9309
goto_if_ge LittlerootTown_MaysHouse_2F_EventScript_Ret
setobjectxyperm 1, 8, 2
setobjectmovementtype 1, MOVEMENT_TYPE_FACE_UP
return
LittlerootTown_BrendansHouse_2F_EventScript_1F9309:: @ 81F9309
LittlerootTown_MaysHouse_2F_EventScript_1F9309:: @ 81F9309
LittlerootTown_MaysHouse_2F_EventScript_Ret:: @ 81F9309
return
LittlerootTown_MaysHouse_2F_EventScript_1F930A:: @ 81F930A
LittlerootTown_MaysHouse_2F_EventScript_CheckSetReadyToMeetMay:: @ 81F930A
checkplayergender
compare VAR_RESULT, MALE
goto_if_eq LittlerootTown_MaysHouse_2F_EventScript_1F9317
goto_if_eq LittlerootTown_MaysHouse_2F_EventScript_SetReadyToMeetMay
return
LittlerootTown_MaysHouse_2F_EventScript_1F9317:: @ 81F9317
LittlerootTown_MaysHouse_2F_EventScript_SetReadyToMeetMay:: @ 81F9317
setvar VAR_LITTLEROOT_RIVAL_STATE, 2
return
LittlerootTown_MaysHouse_2F_MapScript2_1F931D: @ 81F931D
map_script_2 VAR_SECRET_BASE_INITIALIZED, 0, LittlerootTown_MaysHouse_2F_EventScript_1F9327
LittlerootTown_MaysHouse_2F_OnWarp: @ 81F931D
map_script_2 VAR_SECRET_BASE_INITIALIZED, 0, LittlerootTown_MaysHouse_2F_EventScript_CheckInitDecor
.2byte 0
LittlerootTown_MaysHouse_2F_EventScript_1F9327:: @ 81F9327
LittlerootTown_MaysHouse_2F_EventScript_CheckInitDecor:: @ 81F9327
checkplayergender
compare VAR_RESULT, FEMALE
goto_if_eq SecretBase_EventScript_InitDecorations
end
LittlerootTown_MaysHouse_2F_EventScript_1F9334:: @ 81F9334
LittlerootTown_MaysHouse_2F_EventScript_RivalsPokeBall:: @ 81F9334
lockall
compare VAR_LITTLEROOT_RIVAL_STATE, 2
goto_if_eq LittlerootTown_MaysHouse_2F_EventScript_1F934A
msgbox LittlerootTown_MaysHouse_2F_Text_1F9991, MSGBOX_DEFAULT
goto_if_eq LittlerootTown_MaysHouse_2F_EventScript_MeetMay
msgbox RivalsHouse_2F_Text_ItsRivalsPokeBall, MSGBOX_DEFAULT
releaseall
end
LittlerootTown_MaysHouse_2F_EventScript_1F934A:: @ 81F934A
LittlerootTown_MaysHouse_2F_EventScript_MeetMay:: @ 81F934A
delay 10
addobject 1
applymovement 1, LittlerootTown_MaysHouse_2F_Movement_1F946F
applymovement 1, LittlerootTown_MaysHouse_2F_Movement_MayEnters
waitmovement 0
playse SE_PIN
applymovement 1, Common_Movement_ExclamationMark
@@ -75,13 +74,13 @@ LittlerootTown_MaysHouse_2F_EventScript_1F934A:: @ 81F934A
delay 10
playbgm MUS_GIRL_SUP, 1
compare VAR_FACING, DIR_NORTH
call_if_eq LittlerootTown_MaysHouse_2F_EventScript_1F93BA
call_if_eq LittlerootTown_MaysHouse_2F_EventScript_MeetMayNorth
compare VAR_FACING, DIR_SOUTH
call_if_eq LittlerootTown_MaysHouse_2F_EventScript_1F93E9
call_if_eq LittlerootTown_MaysHouse_2F_EventScript_MeetMaySouth
compare VAR_FACING, DIR_WEST
call_if_eq LittlerootTown_MaysHouse_2F_EventScript_1F9418
call_if_eq LittlerootTown_MaysHouse_2F_EventScript_MeetMayWest
compare VAR_FACING, DIR_EAST
call_if_eq LittlerootTown_MaysHouse_2F_EventScript_1F9440
call_if_eq LittlerootTown_MaysHouse_2F_EventScript_MeetMayEast
setvar VAR_LITTLEROOT_RIVAL_STATE, 3
setflag FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_2F_POKE_BALL
clearflag FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_RIVAL_BEDROOM
@@ -91,60 +90,60 @@ LittlerootTown_MaysHouse_2F_EventScript_1F934A:: @ 81F934A
releaseall
end
LittlerootTown_MaysHouse_2F_EventScript_1F93BA:: @ 81F93BA
applymovement 1, LittlerootTown_MaysHouse_2F_Movement_1F9473
LittlerootTown_MaysHouse_2F_EventScript_MeetMayNorth:: @ 81F93BA
applymovement 1, LittlerootTown_MaysHouse_2F_Movement_MayApproachPlayerNorth
waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestLeft
waitmovement 0
msgbox LittlerootTown_MaysHouse_2F_Text_1F959C, MSGBOX_DEFAULT
msgbox RivalsHouse_2F_Text_MayWhoAreYou, MSGBOX_DEFAULT
closemessage
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_MaysHouse_2F_Movement_1F9483
applymovement 1, LittlerootTown_MaysHouse_2F_Movement_1F9479
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_MaysHouse_2F_Movement_PlayerWatchMayNorth
applymovement 1, LittlerootTown_MaysHouse_2F_Movement_MayWalkToPCNorth
waitmovement 0
return
LittlerootTown_MaysHouse_2F_EventScript_1F93E9:: @ 81F93E9
applymovement 1, LittlerootTown_MaysHouse_2F_Movement_1F948B
LittlerootTown_MaysHouse_2F_EventScript_MeetMaySouth:: @ 81F93E9
applymovement 1, LittlerootTown_MaysHouse_2F_Movement_MayApproachPlayerSouth
waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestLeft
waitmovement 0
msgbox LittlerootTown_MaysHouse_2F_Text_1F959C, MSGBOX_DEFAULT
msgbox RivalsHouse_2F_Text_MayWhoAreYou, MSGBOX_DEFAULT
closemessage
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_MaysHouse_2F_Movement_1F9497
applymovement 1, LittlerootTown_MaysHouse_2F_Movement_1F948F
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_MaysHouse_2F_Movement_PlayerWatchMaySouth
applymovement 1, LittlerootTown_MaysHouse_2F_Movement_MayWalkToPCSouth
waitmovement 0
return
LittlerootTown_MaysHouse_2F_EventScript_1F9418:: @ 81F9418
applymovement 1, LittlerootTown_MaysHouse_2F_Movement_1F949D
LittlerootTown_MaysHouse_2F_EventScript_MeetMayWest:: @ 81F9418
applymovement 1, LittlerootTown_MaysHouse_2F_Movement_MayApproachPlayerWest
waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestUp
waitmovement 0
msgbox LittlerootTown_MaysHouse_2F_Text_1F959C, MSGBOX_DEFAULT
msgbox RivalsHouse_2F_Text_MayWhoAreYou, MSGBOX_DEFAULT
closemessage
applymovement 1, LittlerootTown_MaysHouse_2F_Movement_1F94A4
applymovement 1, LittlerootTown_MaysHouse_2F_Movement_MayWalkToPCWest
waitmovement 0
return
LittlerootTown_MaysHouse_2F_EventScript_1F9440:: @ 81F9440
applymovement 1, LittlerootTown_MaysHouse_2F_Movement_1F94AD
LittlerootTown_MaysHouse_2F_EventScript_MeetMayEast:: @ 81F9440
applymovement 1, LittlerootTown_MaysHouse_2F_Movement_MayApproachPlayerEast
waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestLeft
waitmovement 0
msgbox LittlerootTown_MaysHouse_2F_Text_1F959C, MSGBOX_DEFAULT
msgbox RivalsHouse_2F_Text_MayWhoAreYou, MSGBOX_DEFAULT
closemessage
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_MaysHouse_2F_Movement_1F94BB
applymovement 1, LittlerootTown_MaysHouse_2F_Movement_1F94B2
applymovement EVENT_OBJ_ID_PLAYER, LittlerootTown_MaysHouse_2F_Movement_PlayerWatchMayEast
applymovement 1, LittlerootTown_MaysHouse_2F_Movement_MayWalkToPCEast
waitmovement 0
return
LittlerootTown_MaysHouse_2F_Movement_1F946F: @ 81F946F
LittlerootTown_MaysHouse_2F_Movement_MayEnters: @ 81F946F
walk_down
walk_down
walk_in_place_fastest_right
step_end
LittlerootTown_MaysHouse_2F_Movement_1F9473: @ 81F9473
LittlerootTown_MaysHouse_2F_Movement_MayApproachPlayerNorth: @ 81F9473
walk_right
walk_right
walk_down
@@ -152,7 +151,7 @@ LittlerootTown_MaysHouse_2F_Movement_1F9473: @ 81F9473
walk_right
step_end
LittlerootTown_MaysHouse_2F_Movement_1F9479: @ 81F9479
LittlerootTown_MaysHouse_2F_Movement_MayWalkToPCNorth: @ 81F9479
walk_up
walk_up
walk_up
@@ -164,7 +163,7 @@ LittlerootTown_MaysHouse_2F_Movement_1F9479: @ 81F9479
walk_in_place_fastest_up
step_end
LittlerootTown_MaysHouse_2F_Movement_1F9483: @ 81F9483
LittlerootTown_MaysHouse_2F_Movement_PlayerWatchMayNorth: @ 81F9483
delay_16
walk_in_place_fastest_up
delay_16
@@ -174,13 +173,13 @@ LittlerootTown_MaysHouse_2F_Movement_1F9483: @ 81F9483
walk_in_place_fastest_right
step_end
LittlerootTown_MaysHouse_2F_Movement_1F948B: @ 81F948B
LittlerootTown_MaysHouse_2F_Movement_MayApproachPlayerSouth: @ 81F948B
walk_right
walk_right
walk_right
step_end
LittlerootTown_MaysHouse_2F_Movement_1F948F: @ 81F948F
LittlerootTown_MaysHouse_2F_Movement_MayWalkToPCSouth: @ 81F948F
walk_up
walk_in_place_fastest_right
walk_right
@@ -190,7 +189,7 @@ LittlerootTown_MaysHouse_2F_Movement_1F948F: @ 81F948F
walk_in_place_fastest_up
step_end
LittlerootTown_MaysHouse_2F_Movement_1F9497: @ 81F9497
LittlerootTown_MaysHouse_2F_Movement_PlayerWatchMaySouth: @ 81F9497
delay_16
walk_in_place_fastest_up
delay_16
@@ -198,7 +197,7 @@ LittlerootTown_MaysHouse_2F_Movement_1F9497: @ 81F9497
walk_in_place_fastest_right
step_end
LittlerootTown_MaysHouse_2F_Movement_1F949D: @ 81F949D
LittlerootTown_MaysHouse_2F_Movement_MayApproachPlayerWest: @ 81F949D
walk_right
walk_right
walk_right
@@ -207,27 +206,28 @@ LittlerootTown_MaysHouse_2F_Movement_1F949D: @ 81F949D
walk_in_place_fastest_down
step_end
LittlerootTown_MaysHouse_2F_Movement_1F94A4: @ 81F94A4
LittlerootTown_MaysHouse_2F_Movement_MayWalkToPCWest: @ 81F94A4
walk_up
walk_right
walk_right
walk_in_place_fastest_up
step_end
LittlerootTown_MaysHouse_2F_Movement_1F94A9: @ 81F94A9
@ Unused, the player is already facing this direction so its unneeded
LittlerootTown_MaysHouse_2F_Movement_PlayerWatchMayWest: @ 81F94A9
delay_16
delay_16
walk_in_place_fastest_right
step_end
LittlerootTown_MaysHouse_2F_Movement_1F94AD: @ 81F94AD
LittlerootTown_MaysHouse_2F_Movement_MayApproachPlayerEast: @ 81F94AD
walk_right
walk_right
walk_down
walk_in_place_fastest_right
step_end
LittlerootTown_MaysHouse_2F_Movement_1F94B2: @ 81F94B2
LittlerootTown_MaysHouse_2F_Movement_MayWalkToPCEast: @ 81F94B2
walk_up
walk_up
walk_right
@@ -238,7 +238,7 @@ LittlerootTown_MaysHouse_2F_Movement_1F94B2: @ 81F94B2
walk_in_place_fastest_up
step_end
LittlerootTown_MaysHouse_2F_Movement_1F94BB: @ 81F94BB
LittlerootTown_MaysHouse_2F_Movement_PlayerWatchMayEast: @ 81F94BB
delay_16
walk_in_place_fastest_up
delay_16
@@ -246,72 +246,71 @@ LittlerootTown_MaysHouse_2F_Movement_1F94BB: @ 81F94BB
walk_in_place_fastest_right
step_end
LittlerootTown_BrendansHouse_2F_EventScript_1F94C1:: @ 81F94C1
LittlerootTown_MaysHouse_2F_EventScript_1F94C1:: @ 81F94C1
RivalsHouse_2F_EventScript_Rival:: @ 81F94C1
lockall
goto_if_set FLAG_MET_RIVAL_LILYCOVE, LittlerootTown_BrendansHouse_2F_EventScript_1F94F7
goto_if_set FLAG_MET_RIVAL_LILYCOVE, RivalsHouse_2F_EventScript_RivalPostLilycove
checkplayergender
compare VAR_RESULT, MALE
goto_if_eq LittlerootTown_BrendansHouse_2F_EventScript_1F94E3
goto_if_eq RivalsHouse_2F_EventScript_May
compare VAR_RESULT, FEMALE
goto_if_eq LittlerootTown_BrendansHouse_2F_EventScript_1F94ED
goto_if_eq RivalsHouse_2F_EventScript_Brendan
end
LittlerootTown_BrendansHouse_2F_EventScript_1F94E3:: @ 81F94E3
msgbox LittlerootTown_BrendansHouse_2F_Text_1F978A, MSGBOX_DEFAULT
RivalsHouse_2F_EventScript_May:: @ 81F94E3
msgbox RivalsHouse_2F_Text_MayGettingReady, MSGBOX_DEFAULT
releaseall
end
LittlerootTown_BrendansHouse_2F_EventScript_1F94ED:: @ 81F94ED
msgbox LittlerootTown_BrendansHouse_2F_Text_1F9962, MSGBOX_DEFAULT
RivalsHouse_2F_EventScript_Brendan:: @ 81F94ED
msgbox RivalsHouse_2F_Text_BrendanGettingReady, MSGBOX_DEFAULT
releaseall
end
LittlerootTown_BrendansHouse_2F_EventScript_1F94F7:: @ 81F94F7
RivalsHouse_2F_EventScript_RivalPostLilycove:: @ 81F94F7
applymovement VAR_LAST_TALKED, Common_Movement_FacePlayer
waitmovement 0
checkplayergender
compare VAR_RESULT, MALE
call_if_eq LittlerootTown_BrendansHouse_2F_EventScript_1F951D
call_if_eq RivalsHouse_2F_EventScript_MayPostLilycove
compare VAR_RESULT, FEMALE
call_if_eq LittlerootTown_BrendansHouse_2F_EventScript_1F952F
call_if_eq RivalsHouse_2F_EventScript_BrendanPostLilycove
setflag FLAG_MET_RIVAL_IN_HOUSE_AFTER_LILYCOVE
releaseall
end
LittlerootTown_BrendansHouse_2F_EventScript_1F951D:: @ 81F951D
goto_if_set FLAG_MET_RIVAL_IN_HOUSE_AFTER_LILYCOVE, LittlerootTown_BrendansHouse_2F_EventScript_1F9541
msgbox LittlerootTown_BrendansHouse_2F_Text_1F99C9, MSGBOX_DEFAULT
RivalsHouse_2F_EventScript_MayPostLilycove:: @ 81F951D
goto_if_set FLAG_MET_RIVAL_IN_HOUSE_AFTER_LILYCOVE, RivalsHouse_2F_EventScript_MayWhereShouldIGoNext
msgbox RivalsHouse_2F_Text_MayJustCheckingMyPokedex, MSGBOX_DEFAULT
return
LittlerootTown_BrendansHouse_2F_EventScript_1F952F:: @ 81F952F
goto_if_set FLAG_MET_RIVAL_IN_HOUSE_AFTER_LILYCOVE, LittlerootTown_BrendansHouse_2F_EventScript_1F954A
msgbox LittlerootTown_BrendansHouse_2F_Text_1F9B0D, MSGBOX_DEFAULT
RivalsHouse_2F_EventScript_BrendanPostLilycove:: @ 81F952F
goto_if_set FLAG_MET_RIVAL_IN_HOUSE_AFTER_LILYCOVE, RivalsHouse_2F_EventScript_BrendanWhereShouldIGoNext
msgbox RivalsHouse_2F_Text_BrendanJustCheckingMyPokedex, MSGBOX_DEFAULT
return
LittlerootTown_BrendansHouse_2F_EventScript_1F9541:: @ 81F9541
msgbox LittlerootTown_BrendansHouse_2F_Text_1F9A9E, MSGBOX_DEFAULT
RivalsHouse_2F_EventScript_MayWhereShouldIGoNext:: @ 81F9541
msgbox RivalsHouse_2F_Text_MayWhereShouldIGoNext, MSGBOX_DEFAULT
return
LittlerootTown_BrendansHouse_2F_EventScript_1F954A:: @ 81F954A
msgbox LittlerootTown_BrendansHouse_2F_Text_1F9BE7, MSGBOX_DEFAULT
RivalsHouse_2F_EventScript_BrendanWhereShouldIGoNext:: @ 81F954A
msgbox RivalsHouse_2F_Text_BrendanWhereShouldIGoNext, MSGBOX_DEFAULT
return
EventScript_PlayerPCFemale:: @ 81F9553
LittlerootTown_MaysHouse_2F_EventScript_PC:: @ 81F9553
lockall
checkplayergender
compare VAR_RESULT, MALE
goto_if_eq LittlerootTown_MaysHouse_2F_EventScript_1F956C
goto_if_eq LittlerootTown_MaysHouse_2F_EventScript_CheckRivalsPC
compare VAR_RESULT, FEMALE
goto_if_eq LittlerootTown_MaysHouse_2F_EventScript_1F9576
goto_if_eq LittlerootTown_MaysHouse_2F_EventScript_CheckPlayersPC
end
LittlerootTown_MaysHouse_2F_EventScript_1F956C:: @ 81F956C
LittlerootTown_MaysHouse_2F_EventScript_CheckRivalsPC:: @ 81F956C
msgbox gText_PokemonTrainerSchoolEmail, MSGBOX_DEFAULT
releaseall
end
LittlerootTown_MaysHouse_2F_EventScript_1F9576:: @ 81F9576
LittlerootTown_MaysHouse_2F_EventScript_CheckPlayersPC:: @ 81F9576
setvar VAR_0x8004, 2
special DoPCTurnOnEffect
playse SE_PC_ON
@@ -321,14 +320,14 @@ LittlerootTown_MaysHouse_2F_EventScript_1F9576:: @ 81F9576
releaseall
end
LittlerootTown_MaysHouse_2F_EventScript_1F958F:: @ 81F958F
LittlerootTown_MaysHouse_2F_EventScript_TurnOffPlayerPC:: @ 81F958F
setvar VAR_0x8004, 2
playse SE_PC_OFF
special DoPCTurnOffEffect
releaseall
end
LittlerootTown_MaysHouse_2F_Text_1F959C: @ 81F959C
RivalsHouse_2F_Text_MayWhoAreYou: @ 81F959C
.string "Huh?\n"
.string "Who… Who are you?\p"
.string "… … … … … … … …\n"
@@ -352,11 +351,11 @@ LittlerootTown_MaysHouse_2F_Text_1F959C: @ 81F959C
.string "some wild POKéMON!\p"
.string "{PLAYER}{KUN}, I'll catch you later!$"
LittlerootTown_BrendansHouse_2F_Text_1F978A: @ 81F978A
RivalsHouse_2F_Text_MayGettingReady: @ 81F978A
.string "POKéMON fully restored!\n"
.string "Items ready, and…$"
LittlerootTown_BrendansHouse_2F_Text_1F97B4: @ 81F97B4
RivalsHouse_2F_Text_BrendanWhoAreYou: @ 81F97B4
.string "Hey!\n"
.string "You…\p"
.string "Who are you?\p"
@@ -376,16 +375,15 @@ LittlerootTown_BrendansHouse_2F_Text_1F97B4: @ 81F97B4
.string "some wild POKéMON.\p"
.string "Some other time, okay?$"
LittlerootTown_BrendansHouse_2F_Text_1F9962: @ 81F9962
RivalsHouse_2F_Text_BrendanGettingReady: @ 81F9962
.string "POKéMON fully restored…\n"
.string "Items all packed, and…$"
LittlerootTown_BrendansHouse_2F_Text_1F9991: @ 81F9991
LittlerootTown_MaysHouse_2F_Text_1F9991: @ 81F9991
RivalsHouse_2F_Text_ItsRivalsPokeBall: @ 81F9991
.string "It's {RIVAL}'s POKé BALL!\p"
.string "Better leave it right where it is.$"
LittlerootTown_BrendansHouse_2F_Text_1F99C9: @ 81F99C9
RivalsHouse_2F_Text_MayJustCheckingMyPokedex: @ 81F99C9
.string "MAY: {PLAYER}{KUN}!\p"
.string "I was just checking my POKéDEX.\p"
.string "There's still a lot of POKéMON that\n"
@@ -395,13 +393,13 @@ LittlerootTown_BrendansHouse_2F_Text_1F99C9: @ 81F99C9
.string "I wonder where I should go catch\n"
.string "some POKéMON next?$"
LittlerootTown_BrendansHouse_2F_Text_1F9A9E: @ 81F9A9E
RivalsHouse_2F_Text_MayWhereShouldIGoNext: @ 81F9A9E
.string "MAY: I wonder where I should go catch\n"
.string "some POKéMON next?\p"
.string "Wouldn't it be funny if we ran into each\n"
.string "other, {PLAYER}{KUN}?$"
LittlerootTown_BrendansHouse_2F_Text_1F9B0D: @ 81F9B0D
RivalsHouse_2F_Text_BrendanJustCheckingMyPokedex: @ 81F9B0D
.string "BRENDAN: Hey, it's {PLAYER}.\p"
.string "I was just checking out my POKéDEX.\p"
.string "There are still many POKéMON that\n"
@@ -410,7 +408,7 @@ LittlerootTown_BrendansHouse_2F_Text_1F9B0D: @ 81F9B0D
.string "Checking this POKéDEX out gives me\n"
.string "the urge to hit the road again.$"
LittlerootTown_BrendansHouse_2F_Text_1F9BE7: @ 81F9BE7
RivalsHouse_2F_Text_BrendanWhereShouldIGoNext: @ 81F9BE7
.string "BRENDAN: I'm having a hard time deciding\n"
.string "where I should catch POKéMON next.\p"
.string "Hey, {PLAYER}, if I see you while I'm out\n"

View File

@@ -99,9 +99,9 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1F9DDB:: @ 81F9DDB
playfanfare MUS_FANFA4
waitfanfare
msgbox LittlerootTown_ProfessorBirchsLab_Text_1FA8B1, MSGBOX_YESNO
compare VAR_RESULT, 1
compare VAR_RESULT, YES
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1F9E07
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1F9E17
end
@@ -113,9 +113,9 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1F9E07:: @ 81F9E07
LittlerootTown_ProfessorBirchsLab_EventScript_1F9E17:: @ 81F9E17
msgbox LittlerootTown_ProfessorBirchsLab_Text_1FA8F6, MSGBOX_YESNO
compare VAR_RESULT, 1
compare VAR_RESULT, YES
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1F9E36
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1F9E48
end
@@ -128,9 +128,9 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1F9E36:: @ 81F9E36
LittlerootTown_ProfessorBirchsLab_EventScript_1F9E48:: @ 81F9E48
msgbox LittlerootTown_ProfessorBirchsLab_Text_1FAA35, MSGBOX_YESNO
compare VAR_RESULT, 1
compare VAR_RESULT, YES
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1F9E36
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1F9E48
end
@@ -290,7 +290,7 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1F9FBB:: @ 81F9FBB
waitmovement 0
showmonpic SPECIES_CYNDAQUIL, 10, 3
msgbox LittlerootTown_ProfessorBirchsLab_Text_1FB7F6, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA061
goto LittlerootTown_ProfessorBirchsLab_EventScript_1FA06C
end
@@ -303,7 +303,7 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1F9FEF:: @ 81F9FEF
waitmovement 0
showmonpic SPECIES_TOTODILE, 10, 3
msgbox LittlerootTown_ProfessorBirchsLab_Text_1FB869, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA061
goto LittlerootTown_ProfessorBirchsLab_EventScript_1FA10D
end
@@ -316,7 +316,7 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1FA023:: @ 81FA023
waitmovement 0
showmonpic SPECIES_CHIKORITA, 10, 3
msgbox LittlerootTown_ProfessorBirchsLab_Text_1FB8E0, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA061
goto LittlerootTown_ProfessorBirchsLab_EventScript_1FA1AE
end
@@ -348,7 +348,7 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1FA0A1:: @ 81FA0A1
call LittlerootTown_ProfessorBirchsLab_EventScript_1FA24F
removeobject 4
msgbox gText_NicknameThisPokemon, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA0FD
call Common_EventScript_GetGiftMonPartySlot
call Common_EventScript_NameReceivedPartyMon
@@ -359,14 +359,14 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1FA0CC:: @ 81FA0CC
call LittlerootTown_ProfessorBirchsLab_EventScript_1FA24F
removeobject 4
msgbox gText_NicknameThisPokemon, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA0F2
call Common_EventScript_NameReceivedBoxMon
goto LittlerootTown_ProfessorBirchsLab_EventScript_1FA0F2
end
LittlerootTown_ProfessorBirchsLab_EventScript_1FA0F2:: @ 81FA0F2
call LittlerootTown_ProfessorBirchsLab_EventScript_2737A0
call Common_EventScript_TransferredToPC
goto LittlerootTown_ProfessorBirchsLab_EventScript_1FA0FD
end
@@ -393,7 +393,7 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1FA142:: @ 81FA142
call LittlerootTown_ProfessorBirchsLab_EventScript_1FA24F
removeobject 5
msgbox gText_NicknameThisPokemon, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA19E
call Common_EventScript_GetGiftMonPartySlot
call Common_EventScript_NameReceivedPartyMon
@@ -404,14 +404,14 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1FA16D:: @ 81FA16D
call LittlerootTown_ProfessorBirchsLab_EventScript_1FA24F
removeobject 5
msgbox gText_NicknameThisPokemon, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA193
call Common_EventScript_NameReceivedBoxMon
goto LittlerootTown_ProfessorBirchsLab_EventScript_1FA193
end
LittlerootTown_ProfessorBirchsLab_EventScript_1FA193:: @ 81FA193
call LittlerootTown_ProfessorBirchsLab_EventScript_2737A0
call Common_EventScript_TransferredToPC
goto LittlerootTown_ProfessorBirchsLab_EventScript_1FA19E
end
@@ -438,7 +438,7 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1FA1E3:: @ 81FA1E3
call LittlerootTown_ProfessorBirchsLab_EventScript_1FA24F
removeobject 6
msgbox gText_NicknameThisPokemon, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA23F
call Common_EventScript_GetGiftMonPartySlot
call Common_EventScript_NameReceivedPartyMon
@@ -449,14 +449,14 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1FA20E:: @ 81FA20E
call LittlerootTown_ProfessorBirchsLab_EventScript_1FA24F
removeobject 6
msgbox gText_NicknameThisPokemon, MSGBOX_YESNO
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA234
call Common_EventScript_NameReceivedBoxMon
goto LittlerootTown_ProfessorBirchsLab_EventScript_1FA234
end
LittlerootTown_ProfessorBirchsLab_EventScript_1FA234:: @ 81FA234
call LittlerootTown_ProfessorBirchsLab_EventScript_2737A0
call Common_EventScript_TransferredToPC
goto LittlerootTown_ProfessorBirchsLab_EventScript_1FA23F
end

View File

@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
"script": "MagmaHideout_1F_EventScript_23988C",
"script": "MagmaHideout_1F_EventScript_Grunt38",
"flag": "FLAG_HIDE_MAGMA_HIDEOUT_GRUNTS"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
"script": "MagmaHideout_1F_EventScript_2398A3",
"script": "MagmaHideout_1F_EventScript_Grunt39",
"flag": "FLAG_HIDE_MAGMA_HIDEOUT_GRUNTS"
},
{

View File

@@ -6,33 +6,33 @@ MagmaHideout_1F_OnTransition: @ 8239886
setvar VAR_JAGGED_PASS_ASH_WEATHER, 0
end
MagmaHideout_1F_EventScript_23988C:: @ 823988C
trainerbattle_single TRAINER_GRUNT_38, MagmaHideout_1F_Text_2398BA, MagmaHideout_1F_Text_239964
msgbox MagmaHideout_1F_Text_2399B1, MSGBOX_AUTOCLOSE
MagmaHideout_1F_EventScript_Grunt38:: @ 823988C
trainerbattle_single TRAINER_GRUNT_38, MagmaHideout_1F_Text_Grunt38Intro, MagmaHideout_1F_Text_Grunt38Defeat
msgbox MagmaHideout_1F_Text_Grunt38PostBattle, MSGBOX_AUTOCLOSE
end
MagmaHideout_1F_EventScript_2398A3:: @ 82398A3
trainerbattle_single TRAINER_GRUNT_39, MagmaHideout_1F_Text_2399F5, MagmaHideout_1F_Text_239ABA
msgbox MagmaHideout_1F_Text_239ACD, MSGBOX_AUTOCLOSE
MagmaHideout_1F_EventScript_Grunt39:: @ 82398A3
trainerbattle_single TRAINER_GRUNT_39, MagmaHideout_1F_Text_Grunt39Intro, MagmaHideout_1F_Text_Grunt39Defeat
msgbox MagmaHideout_1F_Text_Grunt39PostBattle, MSGBOX_AUTOCLOSE
end
MagmaHideout_1F_Text_2398BA: @ 82398BA
MagmaHideout_1F_Text_Grunt38Intro: @ 82398BA
.string "When TEAM MAGMA has roll call, we get\n"
.string "important guarding assignments in\l"
.string "the order that we line up.\p"
.string "That's why I'm stuck off in this corner.\n"
.string "I'm always late to roll call!$"
MagmaHideout_1F_Text_239964: @ 8239964
MagmaHideout_1F_Text_Grunt38Defeat: @ 8239964
.string "I'm always late for training sessions,\n"
.string "too!\p"
.string "I hate to say it, but I'm wimpy…$"
MagmaHideout_1F_Text_2399B1: @ 82399B1
MagmaHideout_1F_Text_Grunt38PostBattle: @ 82399B1
.string "Okay, I'll try to put a little more\n"
.string "effort into things from now on…$"
MagmaHideout_1F_Text_2399F5: @ 82399F5
MagmaHideout_1F_Text_Grunt39Intro: @ 82399F5
.string "Our leader told us to dig into\n"
.string "MT. CHIMNEY, so we dug and dug.\p"
.string "And in the course of digging, we came\n"
@@ -41,11 +41,11 @@ MagmaHideout_1F_Text_2399F5: @ 82399F5
.string "Fuhahaha!\n"
.string "I'll tell you if you beat me!$"
MagmaHideout_1F_Text_239ABA: @ 8239ABA
MagmaHideout_1F_Text_Grunt39Defeat: @ 8239ABA
.string "Arrgh!\n"
.string "Taken down!$"
MagmaHideout_1F_Text_239ACD: @ 8239ACD
MagmaHideout_1F_Text_Grunt39PostBattle: @ 8239ACD
.string "I won't tell you after all.\n"
.string "You'll find out when you get there!\p"
.string "It'd be better if you saved surprises\n"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 4,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
"script": "MagmaHideout_2F_1R_EventScript_239B7F",
"script": "MagmaHideout_2F_1R_EventScript_Grunt41",
"flag": "FLAG_HIDE_MAGMA_HIDEOUT_GRUNTS"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 6,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "MagmaHideout_2F_1R_EventScript_239B96",
"script": "MagmaHideout_2F_1R_EventScript_Grunt42",
"flag": "FLAG_HIDE_MAGMA_HIDEOUT_GRUNTS"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "7",
"script": "MagmaHideout_2F_1R_EventScript_239B51",
"script": "MagmaHideout_2F_1R_EventScript_Grunt51",
"flag": "FLAG_HIDE_MAGMA_HIDEOUT_GRUNTS"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "MagmaHideout_2F_1R_EventScript_239B68",
"script": "MagmaHideout_2F_1R_EventScript_Grunt40",
"flag": "FLAG_HIDE_MAGMA_HIDEOUT_GRUNTS"
}
],

View File

@@ -1,27 +1,27 @@
MagmaHideout_2F_1R_MapScripts:: @ 8239B50
.byte 0
MagmaHideout_2F_1R_EventScript_239B51:: @ 8239B51
trainerbattle_single TRAINER_GRUNT_51, MagmaHideout_2F_1R_Text_239BAD, MagmaHideout_2F_1R_Text_239C4B
msgbox MagmaHideout_2F_1R_Text_239C74, MSGBOX_AUTOCLOSE
MagmaHideout_2F_1R_EventScript_Grunt51:: @ 8239B51
trainerbattle_single TRAINER_GRUNT_51, MagmaHideout_2F_1R_Text_Grunt51Intro, MagmaHideout_2F_1R_Text_Grunt51Defeat
msgbox MagmaHideout_2F_1R_Text_Grunt51PostBattle, MSGBOX_AUTOCLOSE
end
MagmaHideout_2F_1R_EventScript_239B68:: @ 8239B68
trainerbattle_single TRAINER_GRUNT_40, MagmaHideout_2F_1R_Text_239CAB, MagmaHideout_2F_1R_Text_239D09
msgbox MagmaHideout_2F_1R_Text_239D1D, MSGBOX_AUTOCLOSE
MagmaHideout_2F_1R_EventScript_Grunt40:: @ 8239B68
trainerbattle_single TRAINER_GRUNT_40, MagmaHideout_2F_1R_Text_Grunt40Intro, MagmaHideout_2F_1R_Text_Grunt40Defeat
msgbox MagmaHideout_2F_1R_Text_Grunt40PostBattle, MSGBOX_AUTOCLOSE
end
MagmaHideout_2F_1R_EventScript_239B7F:: @ 8239B7F
trainerbattle_single TRAINER_GRUNT_41, MagmaHideout_2F_1R_Text_239D62, MagmaHideout_2F_1R_Text_239D75
msgbox MagmaHideout_2F_1R_Text_239D7D, MSGBOX_AUTOCLOSE
MagmaHideout_2F_1R_EventScript_Grunt41:: @ 8239B7F
trainerbattle_single TRAINER_GRUNT_41, MagmaHideout_2F_1R_Text_Grunt41Intro, MagmaHideout_2F_1R_Text_Grunt41Defeat
msgbox MagmaHideout_2F_1R_Text_Grunt41PostBattle, MSGBOX_AUTOCLOSE
end
MagmaHideout_2F_1R_EventScript_239B96:: @ 8239B96
trainerbattle_single TRAINER_GRUNT_42, MagmaHideout_2F_1R_Text_239DC5, MagmaHideout_2F_1R_Text_239DDA
msgbox MagmaHideout_2F_1R_Text_239DE2, MSGBOX_AUTOCLOSE
MagmaHideout_2F_1R_EventScript_Grunt42:: @ 8239B96
trainerbattle_single TRAINER_GRUNT_42, MagmaHideout_2F_1R_Text_Grunt42Intro, MagmaHideout_2F_1R_Text_Grunt42Defeat
msgbox MagmaHideout_2F_1R_Text_Grunt42PostBattle, MSGBOX_AUTOCLOSE
end
MagmaHideout_2F_1R_Text_239BAD: @ 8239BAD
MagmaHideout_2F_1R_Text_Grunt51Intro: @ 8239BAD
.string "What, what, what?\p"
.string "Only TEAM MAGMA members are supposed\n"
.string "to be in here!\p"
@@ -30,46 +30,46 @@ MagmaHideout_2F_1R_Text_239BAD: @ 8239BAD
.string "You rouse my suspicion!\n"
.string "Battle with me!$"
MagmaHideout_2F_1R_Text_239C4B: @ 8239C4B
MagmaHideout_2F_1R_Text_Grunt51Defeat: @ 8239C4B
.string "Aiyiyi…\n"
.string "My pride as a TEAM MAGMA member…$"
MagmaHideout_2F_1R_Text_239C74: @ 8239C74
MagmaHideout_2F_1R_Text_Grunt51PostBattle: @ 8239C74
.string "If you suffer from chills, you should\n"
.string "join TEAM MAGMA.$"
MagmaHideout_2F_1R_Text_239CAB: @ 8239CAB
MagmaHideout_2F_1R_Text_Grunt40Intro: @ 8239CAB
.string "Hold it right there!\p"
.string "You don't really expect me to keep\n"
.string "my trap shut and let you waltz by me?$"
MagmaHideout_2F_1R_Text_239D09: @ 8239D09
MagmaHideout_2F_1R_Text_Grunt40Defeat: @ 8239D09
.string "Ooh wow!\n"
.string "I concede!$"
MagmaHideout_2F_1R_Text_239D1D: @ 8239D1D
MagmaHideout_2F_1R_Text_Grunt40PostBattle: @ 8239D1D
.string "Maybe it would've been better if I did\n"
.string "just let you go unchallenged…$"
MagmaHideout_2F_1R_Text_239D62: @ 8239D62
MagmaHideout_2F_1R_Text_Grunt41Intro: @ 8239D62
.string "Ahah!\n"
.string "An intruder!$"
MagmaHideout_2F_1R_Text_239D75: @ 8239D75
MagmaHideout_2F_1R_Text_Grunt41Defeat: @ 8239D75
.string "Graaah!$"
MagmaHideout_2F_1R_Text_239D7D: @ 8239D7D
MagmaHideout_2F_1R_Text_Grunt41PostBattle: @ 8239D7D
.string "I've already lost.\p"
.string "Do I really need to keep running\n"
.string "around in a circle?$"
MagmaHideout_2F_1R_Text_239DC5: @ 8239DC5
MagmaHideout_2F_1R_Text_Grunt42Intro: @ 8239DC5
.string "Oh, oh!\n"
.string "An intruder!$"
MagmaHideout_2F_1R_Text_239DDA: @ 8239DDA
MagmaHideout_2F_1R_Text_Grunt42Defeat: @ 8239DDA
.string "Mutter…$"
MagmaHideout_2F_1R_Text_239DE2: @ 8239DE2
MagmaHideout_2F_1R_Text_Grunt42PostBattle: @ 8239DE2
.string "Actually, I'm no expert at battling…$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "7",
"script": "MagmaHideout_2F_2R_EventScript_239E4D",
"script": "MagmaHideout_2F_2R_EventScript_Grunt45",
"flag": "FLAG_HIDE_MAGMA_HIDEOUT_GRUNTS"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
"script": "MagmaHideout_2F_2R_EventScript_239E36",
"script": "MagmaHideout_2F_2R_EventScript_Grunt44",
"flag": "FLAG_HIDE_MAGMA_HIDEOUT_GRUNTS"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
"script": "MagmaHideout_2F_2R_EventScript_239E1F",
"script": "MagmaHideout_2F_2R_EventScript_Grunt43",
"flag": "FLAG_HIDE_MAGMA_HIDEOUT_GRUNTS"
},
{
@@ -76,7 +76,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
"script": "MagmaHideout_2F_2R_EventScript_239E08",
"script": "MagmaHideout_2F_2R_EventScript_Grunt52",
"flag": "FLAG_HIDE_MAGMA_HIDEOUT_GRUNTS"
},
{

Some files were not shown because too many files have changed in this diff Show More