This commit is contained in:
DizzyEggg
2019-11-10 12:09:14 +01:00
123 changed files with 3708 additions and 3671 deletions

View File

@@ -397,11 +397,11 @@
.byte 0x47
.endm
.macro playstatchangeanimation battler:req, param1:req, param2:req
.macro playstatchangeanimation battler:req, stats:req, statchange:req
.byte 0x48
.byte \battler
.byte \param1
.byte \param2
.byte \stats
.byte \statchange
.endm
.macro moveend param0:req, param1:req
@@ -748,10 +748,10 @@
.byte 0x88
.endm
.macro statbuffchange param0:req, param1:req
.macro statbuffchange flags:req, jumpptr:req
.byte 0x89
.2byte \param0
.4byte \param1
.2byte \flags
.4byte \jumpptr
.endm
.macro normalisebuffs
@@ -1756,15 +1756,15 @@
.endm
.macro dmg_1_8_targethp
manipulatedamage ATK80_1_8_TARGET_HP
manipulatedamage DMG_1_8_TARGET_HP
.endm
.macro dmgtomaxattackerhp
manipulatedamage ATK80_FULL_ATTACKER_HP
manipulatedamage DMG_FULL_ATTACKER_HP
.endm
.macro dmgtocurrattackerhp
manipulatedamage ATK80_CURR_ATTACKER_HP
manipulatedamage DMG_CURR_ATTACKER_HP
.endm
.macro jumpifflowerveil jumpptr:req

View File

@@ -488,3 +488,26 @@
.set OAM_SIZE_8x32, OAM_SIZE_1 | OAM_V_RECTANGLE
.set OAM_SIZE_16x32, OAM_SIZE_2 | OAM_V_RECTANGLE
.set OAM_SIZE_32x64, OAM_SIZE_3 | OAM_V_RECTANGLE
@ BLDCNT
.set BLDCNT_TGT1_BG0, 1 << 0
.set BLDCNT_TGT1_BG1, 1 << 1
.set BLDCNT_TGT1_BG2, 1 << 2
.set BLDCNT_TGT1_BG3, 1 << 3
.set BLDCNT_TGT1_OBJ, 1 << 4
.set BLDCNT_TGT1_BD, 1 << 5
.set BLDCNT_TGT1_ALL, BLDCNT_TGT1_BG0 | BLDCNT_TGT1_BG1 | BLDCNT_TGT1_BG2 | BLDCNT_TGT1_BG3 | BLDCNT_TGT1_OBJ | BLDCNT_TGT1_BD
.set BLDCNT_EFFECT_NONE, 0 << 6
.set BLDCNT_EFFECT_BLEND, 1 << 6
.set BLDCNT_EFFECT_LIGHTEN, 2 << 6
.set BLDCNT_EFFECT_DARKEN, 3 << 6
.set BLDCNT_TGT2_BG0, 1 << 8
.set BLDCNT_TGT2_BG1, 1 << 9
.set BLDCNT_TGT2_BG2, 1 << 10
.set BLDCNT_TGT2_BG3, 1 << 11
.set BLDCNT_TGT2_OBJ, 1 << 12
.set BLDCNT_TGT2_BD, 1 << 13
.set BLDCNT_TGT2_ALL, BLDCNT_TGT2_BG0 | BLDCNT_TGT2_BG1 | BLDCNT_TGT2_BG2 | BLDCNT_TGT2_BG3 | BLDCNT_TGT2_OBJ | BLDCNT_TGT2_BD

View File

@@ -406,21 +406,21 @@ BattleScript_VCreateStatLoss::
jumpifstat BS_ATTACKER, CMP_EQUAL, STAT_SPEED, 0x0, BattleScript_VCreateStatLossRet
BattleScript_VCreateStatAnim:
setbyte sSTAT_ANIM_PLAYED, FALSE
playstatchangeanimation BS_ATTACKER, BIT_DEF | BIT_SPDEF | BIT_SPEED, ATK48_STAT_NEGATIVE | ATK48_DONT_CHECK_LOWER
playstatchangeanimation BS_ATTACKER, BIT_DEF | BIT_SPDEF | BIT_SPEED, STAT_CHANGE_NEGATIVE | STAT_CHANGE_CANT_PREVENT
setstatchanger STAT_DEF, 1, TRUE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_NOT_PROTECT_AFFECTED | MOVE_EFFECT_CERTAIN, BattleScript_VCreateTrySpDef
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_NOT_PROTECT_AFFECTED | MOVE_EFFECT_CERTAIN, BattleScript_VCreateTrySpDef
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_VCreateTrySpDef
printfromtable gStatUpStringIds
waitmessage 0x40
BattleScript_VCreateTrySpDef:
setstatchanger STAT_SPDEF, 1, TRUE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_NOT_PROTECT_AFFECTED | MOVE_EFFECT_CERTAIN, BattleScript_VCreateTrySpeed
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_NOT_PROTECT_AFFECTED | MOVE_EFFECT_CERTAIN, BattleScript_VCreateTrySpeed
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_VCreateTrySpeed
printfromtable gStatUpStringIds
waitmessage 0x40
BattleScript_VCreateTrySpeed:
setstatchanger STAT_SPEED, 1, TRUE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_NOT_PROTECT_AFFECTED | MOVE_EFFECT_CERTAIN, BattleScript_VCreateStatLossRet
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_NOT_PROTECT_AFFECTED | MOVE_EFFECT_CERTAIN, BattleScript_VCreateStatLossRet
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_VCreateStatLossRet
printfromtable gStatUpStringIds
waitmessage 0x40
@@ -450,21 +450,21 @@ BattleScript_EffectPartingShotTryAtk:
attackanimation
waitanimation
setbyte sSTAT_ANIM_PLAYED, FALSE
playstatchangeanimation BS_TARGET, BIT_ATK | BIT_SPATK, ATK48_STAT_NEGATIVE | ATK48_ONLY_MULTIPLE
playstatchangeanimation BS_TARGET, BIT_ATK, ATK48_STAT_NEGATIVE
playstatchangeanimation BS_TARGET, BIT_ATK | BIT_SPATK, STAT_CHANGE_NEGATIVE | STAT_CHANGE_ONLY_MULTIPLE
playstatchangeanimation BS_TARGET, BIT_ATK, STAT_CHANGE_NEGATIVE
setstatchanger STAT_ATK, 1, TRUE
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_EffectPartingShotTrySpAtk
statbuffchange STAT_BUFF_ALLOW_PTR, BattleScript_EffectPartingShotTrySpAtk
printfromtable gStatDownStringIds
waitmessage 0x40
BattleScript_EffectPartingShotTrySpAtk:
playstatchangeanimation BS_TARGET, BIT_SPATK, ATK48_STAT_NEGATIVE
playstatchangeanimation BS_TARGET, BIT_SPATK, STAT_CHANGE_NEGATIVE
setstatchanger STAT_SPATK, 1, TRUE
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_EffectPartingShotSwitch
statbuffchange STAT_BUFF_ALLOW_PTR, BattleScript_EffectPartingShotSwitch
printfromtable gStatDownStringIds
waitmessage 0x40
BattleScript_EffectPartingShotSwitch:
moveendall
jumpifcantswitch ATK4F_DONT_CHECK_STATUSES | BS_ATTACKER, BattleScript_PartingShotEnd
jumpifcantswitch SWITCH_IGNORE_ESCAPE_PREVENTION | BS_ATTACKER, BattleScript_PartingShotEnd
openpartyscreen 0x1, BattleScript_PartingShotEnd
switchoutabilities BS_ATTACKER
waitstate
@@ -506,7 +506,7 @@ BattleScript_EffectAromaticMist:
goto BattleScript_ButItFailed
BattleScript_EffectAromaticMistWorks:
setstatchanger STAT_SPDEF, 1, FALSE
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_EffectAromaticMistEnd
statbuffchange STAT_BUFF_ALLOW_PTR, BattleScript_EffectAromaticMistEnd
jumpifbyte CMP_NOT_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_AromaticMistAnim
pause 0x10
printstring STRINGID_TARGETSTATWONTGOHIGHER
@@ -542,14 +542,14 @@ BattleScript_EffectMagneticFluxSkipAnim:
setbyte sSTAT_ANIM_PLAYED, FALSE
playstatchangeanimation BS_TARGET, BIT_DEF | BIT_SPDEF, 0x0
setstatchanger STAT_DEF, 1, FALSE
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_EffectMagneticFluxTrySpDef
statbuffchange STAT_BUFF_ALLOW_PTR, BattleScript_EffectMagneticFluxTrySpDef
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_EffectMagneticFluxTrySpDef
addbyte gBattleCommunication, 0x1
printfromtable gStatUpStringIds
waitmessage 0x40
BattleScript_EffectMagneticFluxTrySpDef:
setstatchanger STAT_SPDEF, 1, FALSE
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_EffectMagneticFluxLoop
statbuffchange STAT_BUFF_ALLOW_PTR, BattleScript_EffectMagneticFluxLoop
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_EffectMagneticFluxLoop
addbyte gBattleCommunication, 0x1
printfromtable gStatUpStringIds
@@ -581,14 +581,14 @@ BattleScript_EffectGearUpSkipAnim:
setbyte sSTAT_ANIM_PLAYED, FALSE
playstatchangeanimation BS_TARGET, BIT_ATK | BIT_SPATK, 0x0
setstatchanger STAT_ATK, 1, FALSE
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_EffectGearUpTrySpAtk
statbuffchange STAT_BUFF_ALLOW_PTR, BattleScript_EffectGearUpTrySpAtk
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_EffectGearUpTrySpAtk
addbyte gBattleCommunication, 0x1
printfromtable gStatUpStringIds
waitmessage 0x40
BattleScript_EffectGearUpTrySpAtk:
setstatchanger STAT_SPATK, 1, FALSE
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_EffectGearUpLoop
statbuffchange STAT_BUFF_ALLOW_PTR, BattleScript_EffectGearUpLoop
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_EffectGearUpLoop
addbyte gBattleCommunication, 0x1
printfromtable gStatUpStringIds
@@ -659,7 +659,7 @@ BattleScript_FlowerShieldLoop:
goto BattleScript_FlowerShieldMoveTargetEnd
BattleScript_FlowerShieldLoop2:
setstatchanger STAT_DEF, 1, FALSE
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_FlowerShieldMoveTargetEnd
statbuffchange STAT_BUFF_ALLOW_PTR, BattleScript_FlowerShieldMoveTargetEnd
jumpifbyte CMP_LESS_THAN, cMULTISTRING_CHOOSER, 0x2, BattleScript_FlowerShieldDoAnim
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x3, BattleScript_FlowerShieldMoveTargetEnd
pause 0x15
@@ -673,7 +673,7 @@ BattleScript_FlowerShieldString:
printfromtable gStatUpStringIds
waitmessage 0x40
BattleScript_FlowerShieldMoveTargetEnd:
moveendto ATK49_NEXT_TARGET
moveendto MOVEEND_NEXT_TARGET
jumpifnexttargetvalid BattleScript_FlowerShieldLoop
end
@@ -700,18 +700,18 @@ BattleScript_RototillerDoMoveAnim::
setbyte sSTAT_ANIM_PLAYED, FALSE
playstatchangeanimation BS_TARGET, BIT_ATK | BIT_SPATK, 0x0
setstatchanger STAT_ATK, 1, FALSE
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_RototillerTrySpAtk
statbuffchange STAT_BUFF_ALLOW_PTR, BattleScript_RototillerTrySpAtk
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_RototillerTrySpAtk
printfromtable gStatUpStringIds
waitmessage 0x40
BattleScript_RototillerTrySpAtk::
setstatchanger STAT_SPATK, 1, FALSE
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_RototillerMoveTargetEnd
statbuffchange STAT_BUFF_ALLOW_PTR, BattleScript_RototillerMoveTargetEnd
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_RototillerMoveTargetEnd
printfromtable gStatUpStringIds
waitmessage 0x40
BattleScript_RototillerMoveTargetEnd:
moveendto ATK49_NEXT_TARGET
moveendto MOVEEND_NEXT_TARGET
jumpifnexttargetvalid BattleScript_RototillerLoop
end
BattleScript_RototillerCantRaiseMultipleStats:
@@ -823,7 +823,7 @@ BattleScript_SynchronoiseLoop:
waitmessage 0x1
tryfaintmon BS_TARGET, FALSE, NULL
BattleScript_SynchronoiseMoveTargetEnd:
moveendto ATK49_NEXT_TARGET
moveendto MOVEEND_NEXT_TARGET
jumpifnexttargetvalid BattleScript_SynchronoiseLoop
end
BattleScript_SynchronoiseMissed:
@@ -861,7 +861,7 @@ BattleScript_DefogWorks:
accuracycheck BattleScript_PrintMoveMissed, ACC_CURR_MOVE
attackstring
ppreduce
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_DefogTryHazardsWithAnim
statbuffchange STAT_BUFF_ALLOW_PTR, BattleScript_DefogTryHazardsWithAnim
jumpifbyte CMP_LESS_THAN, cMULTISTRING_CHOOSER, 0x2, BattleScript_DefogDoAnim
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x3, BattleScript_DefogTryHazardsWithAnim
pause 0x20
@@ -915,7 +915,7 @@ BattleScript_EffectAutonomize:
attackcanceler
attackstring
ppreduce
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_AutonomizeWeightLoss
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_AutonomizeWeightLoss
jumpifbyte CMP_NOT_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_AutonomizeAttackAnim
pause 0x20
goto BattleScript_AutonomizePrintString
@@ -1005,7 +1005,7 @@ BattleScript_ToxicThreadWorks:
accuracycheck BattleScript_PrintMoveMissed, ACC_CURR_MOVE
attackstring
ppreduce
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_ToxicThreadTryPsn
statbuffchange STAT_BUFF_ALLOW_PTR, BattleScript_ToxicThreadTryPsn
jumpifbyte CMP_LESS_THAN, cMULTISTRING_CHOOSER, 0x2, BattleScript_ToxicThreadDoAnim
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x3, BattleScript_ToxicThreadTryPsn
pause 0x20
@@ -1038,24 +1038,24 @@ BattleScript_VenomDrenchDoMoveAnim::
attackanimation
waitanimation
setbyte sSTAT_ANIM_PLAYED, FALSE
playstatchangeanimation BS_TARGET, BIT_ATK | BIT_SPATK | BIT_SPEED, ATK48_STAT_NEGATIVE | ATK48_ONLY_MULTIPLE
playstatchangeanimation BS_TARGET, BIT_ATK, ATK48_STAT_NEGATIVE
playstatchangeanimation BS_TARGET, BIT_ATK | BIT_SPATK | BIT_SPEED, STAT_CHANGE_NEGATIVE | STAT_CHANGE_ONLY_MULTIPLE
playstatchangeanimation BS_TARGET, BIT_ATK, STAT_CHANGE_NEGATIVE
setstatchanger STAT_ATK, 1, TRUE
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_VenomDrenchTryLowerSpAtk
statbuffchange STAT_BUFF_ALLOW_PTR, BattleScript_VenomDrenchTryLowerSpAtk
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_VenomDrenchTryLowerSpAtk
printfromtable gStatDownStringIds
waitmessage 0x40
BattleScript_VenomDrenchTryLowerSpAtk::
playstatchangeanimation BS_TARGET, BIT_SPATK, ATK48_STAT_NEGATIVE
playstatchangeanimation BS_TARGET, BIT_SPATK, STAT_CHANGE_NEGATIVE
setstatchanger STAT_SPATK, 1, TRUE
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_VenomDrenchTryLowerSpeed
statbuffchange STAT_BUFF_ALLOW_PTR, BattleScript_VenomDrenchTryLowerSpeed
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_VenomDrenchTryLowerSpeed
printfromtable gStatDownStringIds
waitmessage 0x40
BattleScript_VenomDrenchTryLowerSpeed::
playstatchangeanimation BS_TARGET, BIT_SPEED, ATK48_STAT_NEGATIVE
playstatchangeanimation BS_TARGET, BIT_SPEED, STAT_CHANGE_NEGATIVE
setstatchanger STAT_SPEED, 1, TRUE
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_VenomDrenchEnd
statbuffchange STAT_BUFF_ALLOW_PTR, BattleScript_VenomDrenchEnd
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_VenomDrenchEnd
printfromtable gStatDownStringIds
waitmessage 0x40
@@ -1073,17 +1073,17 @@ BattleScript_NobleRoarDoMoveAnim::
attackanimation
waitanimation
setbyte sSTAT_ANIM_PLAYED, FALSE
playstatchangeanimation BS_TARGET, BIT_ATK | BIT_SPATK, ATK48_STAT_NEGATIVE | ATK48_ONLY_MULTIPLE
playstatchangeanimation BS_TARGET, BIT_ATK, ATK48_STAT_NEGATIVE
playstatchangeanimation BS_TARGET, BIT_ATK | BIT_SPATK, STAT_CHANGE_NEGATIVE | STAT_CHANGE_ONLY_MULTIPLE
playstatchangeanimation BS_TARGET, BIT_ATK, STAT_CHANGE_NEGATIVE
setstatchanger STAT_ATK, 1, TRUE
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_NobleRoarTryLowerSpAtk
statbuffchange STAT_BUFF_ALLOW_PTR, BattleScript_NobleRoarTryLowerSpAtk
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_NobleRoarTryLowerSpAtk
printfromtable gStatDownStringIds
waitmessage 0x40
BattleScript_NobleRoarTryLowerSpAtk::
playstatchangeanimation BS_TARGET, BIT_SPATK, ATK48_STAT_NEGATIVE
playstatchangeanimation BS_TARGET, BIT_SPATK, STAT_CHANGE_NEGATIVE
setstatchanger STAT_SPATK, 1, TRUE
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_NobleRoarEnd
statbuffchange STAT_BUFF_ALLOW_PTR, BattleScript_NobleRoarEnd
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_NobleRoarEnd
printfromtable gStatDownStringIds
waitmessage 0x40
@@ -1103,35 +1103,35 @@ BattleScript_ShellSmashTryDef::
attackanimation
waitanimation
setbyte sSTAT_ANIM_PLAYED, FALSE
playstatchangeanimation BS_ATTACKER, BIT_DEF | BIT_SPDEF, ATK48_STAT_NEGATIVE | ATK48_DONT_CHECK_LOWER
playstatchangeanimation BS_ATTACKER, BIT_DEF | BIT_SPDEF, STAT_CHANGE_NEGATIVE | STAT_CHANGE_CANT_PREVENT
setstatchanger STAT_DEF, 1, TRUE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_ShellSmashTrySpDef
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_ShellSmashTrySpDef
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_ShellSmashTrySpDef
printfromtable gStatUpStringIds
waitmessage 0x40
BattleScript_ShellSmashTrySpDef:
setstatchanger STAT_SPDEF, 1, TRUE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_ShellSmashTryAttack
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_ShellSmashTryAttack
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_ShellSmashTryAttack
printfromtable gStatUpStringIds
waitmessage 0x40
BattleScript_ShellSmashTryAttack:
setbyte sSTAT_ANIM_PLAYED, FALSE
playstatchangeanimation BS_ATTACKER, BIT_SPATK | BIT_ATK | BIT_SPEED, ATK48_STAT_BY_TWO
playstatchangeanimation BS_ATTACKER, BIT_SPATK | BIT_ATK | BIT_SPEED, STAT_CHANGE_BY_TWO
setstatchanger STAT_ATK, 2, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_ShellSmashTrySpAtk
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_ShellSmashTrySpAtk
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_ShellSmashTrySpAtk
printfromtable gStatUpStringIds
waitmessage 0x40
BattleScript_ShellSmashTrySpAtk:
setstatchanger STAT_SPATK, 2, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_ShellSmashTrySpeed
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_ShellSmashTrySpeed
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_ShellSmashTrySpeed
printfromtable gStatUpStringIds
waitmessage 0x40
BattleScript_ShellSmashTrySpeed:
setstatchanger STAT_SPEED, 2, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_ShellSmashEnd
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_ShellSmashEnd
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_ShellSmashEnd
printfromtable gStatUpStringIds
waitmessage 0x40
@@ -1163,7 +1163,7 @@ BattleScript_GrowthDoMoveAnim::
BattleScript_GrowthAtk2:
setstatchanger STAT_ATK, 2, FALSE
BattleScript_GrowthAtk:
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_GrowthTrySpAtk
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_GrowthTrySpAtk
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_GrowthTrySpAtk
printfromtable gStatUpStringIds
waitmessage 0x40
@@ -1174,7 +1174,7 @@ BattleScript_GrowthTrySpAtk::
BattleScript_GrowthSpAtk2:
setstatchanger STAT_SPATK, 2, FALSE
BattleScript_GrowthSpAtk:
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_GrowthEnd
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_GrowthEnd
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_GrowthEnd
printfromtable gStatUpStringIds
waitmessage 0x40
@@ -1231,20 +1231,20 @@ BattleScript_ShiftGearDoMoveAnim:
waitanimation
setbyte sSTAT_ANIM_PLAYED, FALSE
jumpifstat BS_ATTACKER, CMP_GREATER_THAN, STAT_SPEED, 0xA, BattleScript_ShiftGearSpeedBy1
playstatchangeanimation BS_ATTACKER, BIT_SPEED | BIT_ATK, ATK48_STAT_BY_TWO
playstatchangeanimation BS_ATTACKER, BIT_SPEED | BIT_ATK, STAT_CHANGE_BY_TWO
setstatchanger STAT_SPEED, 2, FALSE
goto BattleScript_ShiftGearDoSpeed
BattleScript_ShiftGearSpeedBy1:
playstatchangeanimation BS_ATTACKER, BIT_SPEED | BIT_ATK, 0x0
setstatchanger STAT_SPEED, 1, FALSE
BattleScript_ShiftGearDoSpeed:
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_ShiftGearTryAtk
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_ShiftGearTryAtk
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_ShiftGearTryAtk
printfromtable gStatUpStringIds
waitmessage 0x40
BattleScript_ShiftGearTryAtk:
setstatchanger STAT_ATK, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_ShiftGearEnd
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_ShiftGearEnd
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_ShiftGearEnd
printfromtable gStatUpStringIds
waitmessage 0x40
@@ -1264,19 +1264,19 @@ BattleScript_CoilDoMoveAnim:
setbyte sSTAT_ANIM_PLAYED, FALSE
playstatchangeanimation BS_ATTACKER, BIT_ATK | BIT_DEF | BIT_ACC, 0x0
setstatchanger STAT_ATK, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_CoilTryDef
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_CoilTryDef
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_CoilTryDef
printfromtable gStatUpStringIds
waitmessage 0x40
BattleScript_CoilTryDef:
setstatchanger STAT_DEF, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_CoilTryAcc
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_CoilTryAcc
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_CoilTryAcc
printfromtable gStatUpStringIds
waitmessage 0x40
BattleScript_CoilTryAcc:
setstatchanger STAT_ACC, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_CoilEnd
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_CoilEnd
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_CoilEnd
printfromtable gStatUpStringIds
waitmessage 0x40
@@ -1296,19 +1296,19 @@ BattleScript_QuiverDanceDoMoveAnim::
setbyte sSTAT_ANIM_PLAYED, FALSE
playstatchangeanimation BS_ATTACKER, BIT_SPATK | BIT_SPDEF | BIT_SPEED, 0x0
setstatchanger STAT_SPATK, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_QuiverDanceTrySpDef
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_QuiverDanceTrySpDef
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_QuiverDanceTrySpDef
printfromtable gStatUpStringIds
waitmessage 0x40
BattleScript_QuiverDanceTrySpDef::
setstatchanger STAT_SPDEF, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_QuiverDanceTrySpeed
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_QuiverDanceTrySpeed
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_QuiverDanceTrySpeed
printfromtable gStatUpStringIds
waitmessage 0x40
BattleScript_QuiverDanceTrySpeed::
setstatchanger STAT_SPEED, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_QuiverDanceEnd
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_QuiverDanceEnd
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_QuiverDanceEnd
printfromtable gStatUpStringIds
waitmessage 0x40
@@ -1341,13 +1341,13 @@ BattleScript_AttackSpAttackUpDoMoveAnim::
setbyte sSTAT_ANIM_PLAYED, FALSE
playstatchangeanimation BS_ATTACKER, BIT_ATK | BIT_SPATK, 0x0
setstatchanger STAT_ATK, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_AttackSpAttackUpTrySpAtk
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_AttackSpAttackUpTrySpAtk
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_AttackSpAttackUpTrySpAtk
printfromtable gStatUpStringIds
waitmessage 0x40
BattleScript_AttackSpAttackUpTrySpAtk::
setstatchanger STAT_SPATK, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_AttackSpAttackUpEnd
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_AttackSpAttackUpEnd
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_AttackSpAttackUpEnd
printfromtable gStatUpStringIds
waitmessage 0x40
@@ -1366,13 +1366,13 @@ BattleScript_AttackAccUpDoMoveAnim::
setbyte sSTAT_ANIM_PLAYED, FALSE
playstatchangeanimation BS_ATTACKER, BIT_SPATK | BIT_SPDEF, 0x0
setstatchanger STAT_ATK, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_AttackAccUpTrySpDef
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_AttackAccUpTrySpDef
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_AttackAccUpTrySpDef
printfromtable gStatUpStringIds
waitmessage 0x40
BattleScript_AttackAccUpTrySpDef::
setstatchanger STAT_ACC, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_AttackAccUpEnd
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_AttackAccUpEnd
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_AttackAccUpEnd
printfromtable gStatUpStringIds
waitmessage 0x40
@@ -1514,7 +1514,7 @@ BattleScript_EffectHealingWish:
instanthpdrop BS_ATTACKER
setatkhptozero
tryfaintmon BS_ATTACKER, FALSE, NULL
jumpifcantswitch ATK4F_DONT_CHECK_STATUSES | BS_ATTACKER, BattleScript_EffectHealingWishEnd
jumpifcantswitch SWITCH_IGNORE_ESCAPE_PREVENTION | BS_ATTACKER, BattleScript_EffectHealingWishEnd
openpartyscreen 0x1, BattleScript_EffectHealingWishEnd
switchoutabilities BS_ATTACKER
waitstate
@@ -1536,7 +1536,7 @@ BattleScript_EffectHealingWishNewMon:
playanimation BS_ATTACKER, B_ANIM_WISH_HEAL, NULL
waitanimation
dmgtomaxattackerhp
manipulatedamage ATK80_DMG_CHANGE_SIGN
manipulatedamage DMG_CHANGE_SIGN
healthbarupdate BS_ATTACKER
datahpupdate BS_ATTACKER
clearstatus BS_ATTACKER
@@ -1786,7 +1786,7 @@ BattleScript_GravityLoopDrop:
printstring STRINGID_GRAVITYGROUNDING
waitmessage 0x40
BattleScript_GravityLoopEnd:
moveendto ATK49_NEXT_TARGET
moveendto MOVEEND_NEXT_TARGET
jumpifnexttargetvalid BattleScript_GravityLoop
end
@@ -1851,7 +1851,7 @@ BattleScript_EffectHitEscape:
moveendall
jumpifbattleend BattleScript_HitEscapeEnd
jumpifbyte CMP_NOT_EQUAL gBattleOutcome 0, BattleScript_HitEscapeEnd
jumpifcantswitch ATK4F_DONT_CHECK_STATUSES | BS_ATTACKER, BattleScript_HitEscapeEnd
jumpifcantswitch SWITCH_IGNORE_ESCAPE_PREVENTION | BS_ATTACKER, BattleScript_HitEscapeEnd
openpartyscreen 0x1, BattleScript_HitEscapeEnd
switchoutabilities BS_ATTACKER
waitstate
@@ -2095,7 +2095,7 @@ BattleScript_EffectAbsorb::
setbyte cMULTISTRING_CHOOSER, 0x0
goto BattleScript_AbsorbUpdateHp
BattleScript_AbsorbLiquidOoze::
manipulatedamage ATK80_DMG_CHANGE_SIGN
manipulatedamage DMG_CHANGE_SIGN
setbyte cMULTISTRING_CHOOSER, 0x1
BattleScript_AbsorbUpdateHp::
healthbarupdate BS_ATTACKER
@@ -2152,7 +2152,7 @@ BattleScript_ExplosionLoop:
resultmessage
waitmessage 0x40
tryfaintmon BS_TARGET, FALSE, NULL
moveendto ATK49_NEXT_TARGET
moveendto MOVEEND_NEXT_TARGET
jumpifnexttargetvalid BattleScript_ExplosionLoop
tryfaintmon BS_ATTACKER, FALSE, NULL
end
@@ -2160,7 +2160,7 @@ BattleScript_ExplosionMissed:
effectivenesssound
resultmessage
waitmessage 0x40
moveendto ATK49_NEXT_TARGET
moveendto MOVEEND_NEXT_TARGET
jumpifnexttargetvalid BattleScript_ExplosionLoop
tryfaintmon BS_ATTACKER, FALSE, NULL
end
@@ -2252,7 +2252,7 @@ BattleScript_EffectStatUp::
BattleScript_EffectStatUpAfterAtkCanceler::
attackstring
ppreduce
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_StatUpEnd
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_StatUpEnd
jumpifbyte CMP_NOT_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_StatUpAttackAnim
pause 0x20
goto BattleScript_StatUpPrintString
@@ -2308,7 +2308,7 @@ BattleScript_EffectStatDown:
BattleScript_StatDownFromAttackString:
attackstring
ppreduce
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_StatDownEnd
statbuffchange STAT_BUFF_ALLOW_PTR, BattleScript_StatDownEnd
jumpifbyte CMP_LESS_THAN, cMULTISTRING_CHOOSER, 0x2, BattleScript_StatDownDoAnim
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x3, BattleScript_StatDownEnd
pause 0x20
@@ -2407,7 +2407,7 @@ BattleScript_DoMultiHit::
printstring STRINGID_EMPTYSTRING3
waitmessage 0x1
addbyte sMULTIHIT_STRING + 4, 0x1
moveendto ATK49_NEXT_TARGET
moveendto MOVEEND_NEXT_TARGET
jumpifbyte CMP_COMMON_BITS, gMoveResultFlags, MOVE_RESULT_FOE_ENDURED, BattleScript_MultiHitPrintStrings
decrementmultihit BattleScript_MultiHitLoop
goto BattleScript_MultiHitPrintStrings
@@ -2423,8 +2423,8 @@ BattleScript_MultiHitPrintStrings::
BattleScript_MultiHitEnd::
seteffectwithchance
tryfaintmon BS_TARGET, FALSE, NULL
moveendcase ATK49_SYNCHRONIZE_TARGET
moveendfrom ATK49_STATUS_IMMUNITY_ABILITIES
moveendcase MOVEEND_SYNCHRONIZE_TARGET
moveendfrom MOVEEND_STATUS_IMMUNITY_ABILITIES
end
BattleScript_EffectConversion::
@@ -2658,7 +2658,7 @@ BattleScript_MoveMissedDoDamage::
damagecalc
typecalc
adjustdamage
manipulatedamage ATK80_DMG_HALF_BY_TWO_NOT_MORE_THAN_HALF_MAX_HP
manipulatedamage DMG_RECOIL_FROM_MISS
bichalfword gMoveResultFlags, MOVE_RESULT_MISSED
orword gHitMarker, HITMARKER_IGNORE_SUBSTITUTE
healthbarupdate BS_ATTACKER
@@ -3277,7 +3277,7 @@ BattleScript_DoTripleKickAttack::
waitmessage 0x40
printstring STRINGID_EMPTYSTRING3
waitmessage 0x1
moveendto ATK49_NEXT_TARGET
moveendto MOVEEND_NEXT_TARGET
jumpifbyte CMP_COMMON_BITS, gMoveResultFlags, MOVE_RESULT_FOE_ENDURED, BattleScript_TripleKickPrintStrings
decrementmultihit BattleScript_TripleKickLoop
goto BattleScript_TripleKickPrintStrings
@@ -3296,7 +3296,7 @@ BattleScript_TripleKickPrintStrings::
BattleScript_TripleKickEnd::
seteffectwithchance
tryfaintmon BS_TARGET, FALSE, NULL
moveendfrom ATK49_UPDATE_LAST_MOVES
moveendfrom MOVEEND_UPDATE_LAST_MOVES
end
BattleScript_EffectThief::
@@ -3359,17 +3359,17 @@ BattleScript_CurseTrySpeed::
attackanimation
waitanimation
setstatchanger STAT_SPEED, 1, TRUE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_CurseTryAttack
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_CurseTryAttack
printfromtable gStatDownStringIds
waitmessage 0x40
BattleScript_CurseTryAttack::
setstatchanger STAT_ATK, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_CurseTryDefence
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_CurseTryDefence
printfromtable gStatUpStringIds
waitmessage 0x40
BattleScript_CurseTryDefence::
setstatchanger STAT_DEF, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_CurseEnd
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_CurseEnd
printfromtable gStatUpStringIds
waitmessage 0x40
BattleScript_CurseEnd::
@@ -3488,7 +3488,7 @@ BattleScript_EffectSwagger::
attackanimation
waitanimation
setstatchanger STAT_ATK, 2, FALSE
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_SwaggerTryConfuse
statbuffchange STAT_BUFF_ALLOW_PTR, BattleScript_SwaggerTryConfuse
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_SwaggerTryConfuse
setgraphicalstatchangevalues
playanimation BS_TARGET, B_ANIM_STATS_CHANGE, sB_ANIM_ARG1
@@ -3562,7 +3562,7 @@ BattleScript_EffectBatonPass::
attackstring
ppreduce
jumpifbattletype BATTLE_TYPE_ARENA, BattleScript_ButItFailed
jumpifcantswitch ATK4F_DONT_CHECK_STATUSES | BS_ATTACKER, BattleScript_ButItFailed
jumpifcantswitch SWITCH_IGNORE_ESCAPE_PREVENTION | BS_ATTACKER, BattleScript_ButItFailed
attackanimation
waitanimation
openpartyscreen BS_ATTACKER, BattleScript_ButItFailed
@@ -3677,7 +3677,7 @@ BattleScript_EffectSkullBash::
setbyte sTWOTURN_STRINGID, 0x2
call BattleScriptFirstChargingTurn
setstatchanger STAT_DEF, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_SkullBashEnd
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_SkullBashEnd
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_SkullBashEnd
setgraphicalstatchangevalues
playanimation BS_ATTACKER, B_ANIM_STATS_CHANGE, sB_ANIM_ARG1
@@ -3729,7 +3729,7 @@ BattleScript_DoHitAllWithUndergroundBonus::
printstring STRINGID_EMPTYSTRING3
waitmessage 0x1
tryfaintmon BS_TARGET, FALSE, NULL
moveendto ATK49_NEXT_TARGET
moveendto MOVEEND_NEXT_TARGET
jumpifnexttargetvalid BattleScript_HitsAllWithUndergroundBonusLoop
end
BattleScript_HitAllWithUndergroundBonusMissed::
@@ -3738,7 +3738,7 @@ BattleScript_HitAllWithUndergroundBonusMissed::
effectivenesssound
resultmessage
waitmessage 0x40
moveendto ATK49_NEXT_TARGET
moveendto MOVEEND_NEXT_TARGET
jumpifnexttargetvalid BattleScript_HitsAllWithUndergroundBonusLoop
end
@@ -3813,7 +3813,7 @@ BattleScript_BeatUpLoop::
printstring STRINGID_PKMNATTACK
critcalc
jumpifbyte CMP_NOT_EQUAL, gIsCriticalHit, TRUE, BattleScript_BeatUpAttack
manipulatedamage ATK80_DMG_DOUBLED
manipulatedamage DMG_DOUBLED
BattleScript_BeatUpAttack::
adjustdamage
attackanimation
@@ -3828,7 +3828,7 @@ BattleScript_BeatUpAttack::
resultmessage
waitmessage 0x40
tryfaintmon BS_TARGET, FALSE, NULL
moveendto ATK49_NEXT_TARGET
moveendto MOVEEND_NEXT_TARGET
goto BattleScript_BeatUpLoop
BattleScript_BeatUpEnd::
end
@@ -3881,7 +3881,7 @@ BattleScript_EffectDefenseCurl::
ppreduce
setdefensecurlbit
setstatchanger STAT_DEF, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_DefenseCurlDoStatUpAnim
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_DefenseCurlDoStatUpAnim
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_StatUpPrintString
attackanimation
waitanimation
@@ -3959,13 +3959,13 @@ BattleScript_EffectStockpileDef:
setbyte sSTAT_ANIM_PLAYED, FALSE
playstatchangeanimation BS_ATTACKER, BIT_DEF | BIT_SPDEF, 0x0
setstatchanger STAT_DEF, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_EffectStockpileSpDef
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_EffectStockpileSpDef
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_EffectStockpileSpDef
printfromtable gStatUpStringIds
waitmessage 0x40
BattleScript_EffectStockpileSpDef::
setstatchanger STAT_SPDEF, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_EffectStockpileEnd
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_EffectStockpileEnd
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_EffectStockpileEnd
printfromtable gStatUpStringIds
waitmessage 0x40
@@ -4042,7 +4042,7 @@ BattleScript_EffectFlatter::
attackanimation
waitanimation
setstatchanger STAT_SPATK, 1, FALSE
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_FlatterTryConfuse
statbuffchange STAT_BUFF_ALLOW_PTR, BattleScript_FlatterTryConfuse
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_FlatterTryConfuse
setgraphicalstatchangevalues
playanimation BS_TARGET, B_ANIM_STATS_CHANGE, sB_ANIM_ARG1
@@ -4097,17 +4097,17 @@ BattleScript_EffectMemento::
waitanimation
jumpifsubstituteblocks BattleScript_EffectMementoPrintNoEffect
setbyte sSTAT_ANIM_PLAYED, FALSE
playstatchangeanimation BS_TARGET, BIT_ATK | BIT_SPATK, ATK48_STAT_NEGATIVE | ATK48_STAT_BY_TWO | ATK48_ONLY_MULTIPLE
playstatchangeanimation BS_TARGET, BIT_ATK, ATK48_STAT_NEGATIVE | ATK48_STAT_BY_TWO
playstatchangeanimation BS_TARGET, BIT_ATK | BIT_SPATK, STAT_CHANGE_NEGATIVE | STAT_CHANGE_BY_TWO | STAT_CHANGE_ONLY_MULTIPLE
playstatchangeanimation BS_TARGET, BIT_ATK, STAT_CHANGE_NEGATIVE | STAT_CHANGE_BY_TWO
setstatchanger STAT_ATK, 2, TRUE
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_EffectMementoTrySpAtk
statbuffchange STAT_BUFF_ALLOW_PTR, BattleScript_EffectMementoTrySpAtk
jumpifbyte CMP_GREATER_THAN, cMULTISTRING_CHOOSER, 0x1, BattleScript_EffectMementoTrySpAtk
printfromtable gStatDownStringIds
waitmessage 0x40
BattleScript_EffectMementoTrySpAtk:
playstatchangeanimation BS_TARGET, BIT_SPATK, ATK48_STAT_NEGATIVE | ATK48_STAT_BY_TWO
playstatchangeanimation BS_TARGET, BIT_SPATK, STAT_CHANGE_NEGATIVE | STAT_CHANGE_BY_TWO
setstatchanger STAT_SPATK, 2, TRUE
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_EffectMementoTryFaint
statbuffchange STAT_BUFF_ALLOW_PTR, BattleScript_EffectMementoTryFaint
jumpifbyte CMP_GREATER_THAN, cMULTISTRING_CHOOSER, 0x1, BattleScript_EffectMementoTryFaint
printfromtable gStatDownStringIds
waitmessage 0x40
@@ -4458,7 +4458,7 @@ BattleScript_TeeterDanceLoop::
resultmessage
waitmessage 0x40
BattleScript_TeeterDanceDoMoveEndIncrement::
moveendto ATK49_NEXT_TARGET
moveendto MOVEEND_NEXT_TARGET
BattleScript_TeeterDanceLoopIncrement::
addbyte gBattlerTarget, 0x1
jumpifbytenotequal gBattlerTarget, gBattlersCount, BattleScript_TeeterDanceLoop
@@ -4529,17 +4529,17 @@ BattleScript_TickleDoMoveAnim::
attackanimation
waitanimation
setbyte sSTAT_ANIM_PLAYED, FALSE
playstatchangeanimation BS_TARGET, BIT_ATK | BIT_DEF, ATK48_STAT_NEGATIVE | ATK48_ONLY_MULTIPLE
playstatchangeanimation BS_TARGET, BIT_ATK, ATK48_STAT_NEGATIVE
playstatchangeanimation BS_TARGET, BIT_ATK | BIT_DEF, STAT_CHANGE_NEGATIVE | STAT_CHANGE_ONLY_MULTIPLE
playstatchangeanimation BS_TARGET, BIT_ATK, STAT_CHANGE_NEGATIVE
setstatchanger STAT_ATK, 1, TRUE
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_TickleTryLowerDef
statbuffchange STAT_BUFF_ALLOW_PTR, BattleScript_TickleTryLowerDef
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_TickleTryLowerDef
printfromtable gStatDownStringIds
waitmessage 0x40
BattleScript_TickleTryLowerDef::
playstatchangeanimation BS_TARGET, BIT_DEF, ATK48_STAT_NEGATIVE
playstatchangeanimation BS_TARGET, BIT_DEF, STAT_CHANGE_NEGATIVE
setstatchanger STAT_DEF, 1, TRUE
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_TickleEnd
statbuffchange STAT_BUFF_ALLOW_PTR, BattleScript_TickleEnd
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_TickleEnd
printfromtable gStatDownStringIds
waitmessage 0x40
@@ -4565,13 +4565,13 @@ BattleScript_CosmicPowerDoMoveAnim::
setbyte sSTAT_ANIM_PLAYED, FALSE
playstatchangeanimation BS_ATTACKER, BIT_DEF | BIT_SPDEF, 0x0
setstatchanger STAT_DEF, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_CosmicPowerTrySpDef
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_CosmicPowerTrySpDef
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_CosmicPowerTrySpDef
printfromtable gStatUpStringIds
waitmessage 0x40
BattleScript_CosmicPowerTrySpDef::
setstatchanger STAT_SPDEF, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_CosmicPowerEnd
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_CosmicPowerEnd
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_CosmicPowerEnd
printfromtable gStatUpStringIds
waitmessage 0x40
@@ -4594,13 +4594,13 @@ BattleScript_BulkUpDoMoveAnim::
setbyte sSTAT_ANIM_PLAYED, FALSE
playstatchangeanimation BS_ATTACKER, BIT_ATK | BIT_DEF, 0x0
setstatchanger STAT_ATK, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_BulkUpTryDef
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_BulkUpTryDef
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_BulkUpTryDef
printfromtable gStatUpStringIds
waitmessage 0x40
BattleScript_BulkUpTryDef::
setstatchanger STAT_DEF, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_BulkUpEnd
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_BulkUpEnd
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_BulkUpEnd
printfromtable gStatUpStringIds
waitmessage 0x40
@@ -4619,13 +4619,13 @@ BattleScript_CalmMindDoMoveAnim::
setbyte sSTAT_ANIM_PLAYED, FALSE
playstatchangeanimation BS_ATTACKER, BIT_SPATK | BIT_SPDEF, 0x0
setstatchanger STAT_SPATK, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_CalmMindTrySpDef
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_CalmMindTrySpDef
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_CalmMindTrySpDef
printfromtable gStatUpStringIds
waitmessage 0x40
BattleScript_CalmMindTrySpDef::
setstatchanger STAT_SPDEF, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_CalmMindEnd
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_CalmMindEnd
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_CalmMindEnd
printfromtable gStatUpStringIds
waitmessage 0x40
@@ -4651,13 +4651,13 @@ BattleScript_DragonDanceDoMoveAnim::
setbyte sSTAT_ANIM_PLAYED, FALSE
playstatchangeanimation BS_ATTACKER, BIT_ATK | BIT_SPEED, 0x0
setstatchanger STAT_ATK, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_DragonDanceTrySpeed
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_DragonDanceTrySpeed
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_DragonDanceTrySpeed
printfromtable gStatUpStringIds
waitmessage 0x40
BattleScript_DragonDanceTrySpeed::
setstatchanger STAT_SPEED, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_DragonDanceEnd
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_DragonDanceEnd
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_DragonDanceEnd
printfromtable gStatUpStringIds
waitmessage 0x40
@@ -4723,7 +4723,7 @@ BattleScript_FaintedMonTryChooseAnother::
jumpifbattletype BATTLE_TYPE_DOUBLE, BattleScript_FaintedMonChooseAnother
jumpifword CMP_COMMON_BITS, gHitMarker, HITMARKER_x400000, BattleScript_FaintedMonChooseAnother
jumpifbyte CMP_EQUAL, sBATTLE_STYLE, 0x1, BattleScript_FaintedMonChooseAnother
jumpifcantswitch 11, BattleScript_FaintedMonChooseAnother
jumpifcantswitch BS_PLAYER1, BattleScript_FaintedMonChooseAnother
printstring STRINGID_ENEMYABOUTTOSWITCHPKMN
setbyte gBattleCommunication, 0x0
yesnobox
@@ -4986,8 +4986,8 @@ BattleScript_DoSwitchOut::
switchinanim BS_ATTACKER, FALSE
waitstate
switchineffects BS_ATTACKER
moveendcase ATK49_STATUS_IMMUNITY_ABILITIES
moveendcase ATK49_MIRROR_MOVE
moveendcase MOVEEND_STATUS_IMMUNITY_ABILITIES
moveendcase MOVEEND_MIRROR_MOVE
end2
BattleScript_PursuitDmgOnSwitchOut::
@@ -5009,7 +5009,7 @@ BattleScript_PursuitDmgOnSwitchOut::
resultmessage
waitmessage 0x40
tryfaintmon BS_TARGET, FALSE, NULL
moveendfromto ATK49_MOVE_END_ABILITIES, ATK49_CHOICE_MOVE
moveendfromto MOVEEND_ABILITIES, MOVEEND_CHOICE_MOVE
various4 BS_TARGET
jumpifbyte CMP_EQUAL, gBattleCommunication, 0x0, BattleScript_PursuitDmgOnSwitchOutRet
setbyte sGIVEEXP_STATE, 0x0
@@ -5209,7 +5209,7 @@ BattleScript_LeechSeedTurnDrain::
datahpupdate BS_ATTACKER
copyword gBattleMoveDamage, gHpDealt
jumpifability BS_ATTACKER, ABILITY_LIQUID_OOZE, BattleScript_LeechSeedTurnPrintLiquidOoze
manipulatedamage ATK80_DMG_CHANGE_SIGN
manipulatedamage DMG_CHANGE_SIGN
setbyte cMULTISTRING_CHOOSER, 0x3
goto BattleScript_LeechSeedTurnPrintAndUpdateHp
BattleScript_LeechSeedTurnPrintLiquidOoze::
@@ -5292,15 +5292,15 @@ BattleScript_WeaknessPolicyAtk:
playanimation BS_TARGET, B_ANIM_ITEM_EFFECT, NULL
waitanimation
setbyte sSTAT_ANIM_PLAYED, FALSE
playstatchangeanimation BS_TARGET, BIT_ATK | BIT_SPATK, ATK48_STAT_BY_TWO
playstatchangeanimation BS_TARGET, BIT_ATK | BIT_SPATK, STAT_CHANGE_BY_TWO
setstatchanger STAT_ATK, 2, FALSE
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_WeaknessPolicySpAtk
statbuffchange STAT_BUFF_ALLOW_PTR, BattleScript_WeaknessPolicySpAtk
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_WeaknessPolicySpAtk
printstring STRINGID_USINGXTHEYOFZN
waitmessage 0x40
BattleScript_WeaknessPolicySpAtk:
setstatchanger STAT_SPATK, 2, FALSE
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_WeaknessPolicyRemoveItem
statbuffchange STAT_BUFF_ALLOW_PTR, BattleScript_WeaknessPolicyRemoveItem
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_WeaknessPolicyRemoveItem
printstring STRINGID_USINGXTHEYOFZN
waitmessage 0x40
@@ -5352,7 +5352,7 @@ BattleScript_DisabledNoMore::
BattleScript_SelectingDisabledMoveInPalace::
printstring STRINGID_PKMNMOVEISDISABLED
BattleScript_SelectingUnusableMoveInPalace::
moveendto ATK49_NEXT_TARGET
moveendto MOVEEND_NEXT_TARGET
end
BattleScript_EncoredNoMore::
@@ -5437,7 +5437,7 @@ BattleScript_StickyWebOnSwitchIn::
copybyte gBattlerTarget, sBATTLER
printstring STRINGID_STICKYWEBSWITCHIN
waitmessage 0x40
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_StickyWebOnSwitchInEnd
statbuffchange STAT_BUFF_ALLOW_PTR, BattleScript_StickyWebOnSwitchInEnd
jumpifbyte CMP_LESS_THAN, cMULTISTRING_CHOOSER, 0x2, BattleScript_StickyWebOnSwitchInStatAnim
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x3, BattleScript_StickyWebOnSwitchInEnd
pause 0x20
@@ -5476,27 +5476,27 @@ BattleScript_AllStatsUpAtk::
setbyte sSTAT_ANIM_PLAYED, FALSE
playstatchangeanimation BS_ATTACKER, BIT_ATK | BIT_DEF | BIT_SPEED | BIT_SPATK | BIT_SPDEF, 0x0
setstatchanger STAT_ATK, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_AllStatsUpDef
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_AllStatsUpDef
printfromtable gStatUpStringIds
waitmessage 0x40
BattleScript_AllStatsUpDef::
setstatchanger STAT_DEF, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_AllStatsUpSpeed
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_AllStatsUpSpeed
printfromtable gStatUpStringIds
waitmessage 0x40
BattleScript_AllStatsUpSpeed::
setstatchanger STAT_SPEED, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_AllStatsUpSpAtk
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_AllStatsUpSpAtk
printfromtable gStatUpStringIds
waitmessage 0x40
BattleScript_AllStatsUpSpAtk::
setstatchanger STAT_SPATK, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_AllStatsUpSpDef
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_AllStatsUpSpDef
printfromtable gStatUpStringIds
waitmessage 0x40
BattleScript_AllStatsUpSpDef::
setstatchanger STAT_SPDEF, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_AllStatsUpRet
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_AllStatsUpRet
printfromtable gStatUpStringIds
waitmessage 0x40
BattleScript_AllStatsUpRet::
@@ -5569,9 +5569,9 @@ BattleScript_DoFutureAttackResult:
tryfaintmon BS_TARGET, FALSE, NULL
atk24 BattleScript_FutureAttackEnd
BattleScript_FutureAttackEnd::
moveendcase ATK49_RAGE
moveendfromto ATK49_ITEM_EFFECTS_ALL, ATK49_UPDATE_LAST_MOVES
sethword gMoveResultFlags, 0
moveendcase MOVEEND_RAGE
moveendfromto MOVEEND_ITEM_EFFECTS_ALL, MOVEEND_UPDATE_LAST_MOVES
setbyte gMoveResultFlags, 0
end2
BattleScript_FutureAttackMiss::
pause 0x20
@@ -5717,17 +5717,17 @@ BattleScript_PrintMonIsRooted::
BattleScript_AtkDefDown::
setbyte sSTAT_ANIM_PLAYED, FALSE
playstatchangeanimation BS_ATTACKER, BIT_DEF | BIT_ATK, ATK48_DONT_CHECK_LOWER | ATK48_STAT_NEGATIVE | ATK48_ONLY_MULTIPLE
playstatchangeanimation BS_ATTACKER, BIT_ATK, ATK48_DONT_CHECK_LOWER | ATK48_STAT_NEGATIVE
playstatchangeanimation BS_ATTACKER, BIT_DEF | BIT_ATK, STAT_CHANGE_CANT_PREVENT | STAT_CHANGE_NEGATIVE | STAT_CHANGE_ONLY_MULTIPLE
playstatchangeanimation BS_ATTACKER, BIT_ATK, STAT_CHANGE_CANT_PREVENT | STAT_CHANGE_NEGATIVE
setstatchanger STAT_ATK, 1, TRUE
statbuffchange MOVE_EFFECT_AFFECTS_USER | MOVE_EFFECT_CERTAIN | STAT_CHANGE_BS_PTR, BattleScript_AtkDefDownTryDef
statbuffchange MOVE_EFFECT_AFFECTS_USER | MOVE_EFFECT_CERTAIN | STAT_BUFF_ALLOW_PTR, BattleScript_AtkDefDownTryDef
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_AtkDefDownTryDef
printfromtable gStatDownStringIds
waitmessage 0x40
BattleScript_AtkDefDownTryDef:
playstatchangeanimation BS_ATTACKER, BIT_DEF, ATK48_DONT_CHECK_LOWER | ATK48_STAT_NEGATIVE
playstatchangeanimation BS_ATTACKER, BIT_DEF, STAT_CHANGE_CANT_PREVENT | STAT_CHANGE_NEGATIVE
setstatchanger STAT_DEF, 1, TRUE
statbuffchange MOVE_EFFECT_AFFECTS_USER | MOVE_EFFECT_CERTAIN | STAT_CHANGE_BS_PTR, BattleScript_AtkDefDownRet
statbuffchange MOVE_EFFECT_AFFECTS_USER | MOVE_EFFECT_CERTAIN | STAT_BUFF_ALLOW_PTR, BattleScript_AtkDefDownRet
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_AtkDefDownRet
printfromtable gStatDownStringIds
waitmessage 0x40
@@ -5736,17 +5736,17 @@ BattleScript_AtkDefDownRet:
BattleScript_DefSpDefDown::
setbyte sSTAT_ANIM_PLAYED, FALSE
playstatchangeanimation BS_ATTACKER, BIT_DEF | BIT_SPDEF, ATK48_DONT_CHECK_LOWER | ATK48_STAT_NEGATIVE | ATK48_ONLY_MULTIPLE
playstatchangeanimation BS_ATTACKER, BIT_DEF, ATK48_DONT_CHECK_LOWER | ATK48_STAT_NEGATIVE
playstatchangeanimation BS_ATTACKER, BIT_DEF | BIT_SPDEF, STAT_CHANGE_CANT_PREVENT | STAT_CHANGE_NEGATIVE | STAT_CHANGE_ONLY_MULTIPLE
playstatchangeanimation BS_ATTACKER, BIT_DEF, STAT_CHANGE_CANT_PREVENT | STAT_CHANGE_NEGATIVE
setstatchanger STAT_DEF, 1, TRUE
statbuffchange MOVE_EFFECT_AFFECTS_USER | MOVE_EFFECT_CERTAIN | STAT_CHANGE_BS_PTR, BattleScript_DefSpDefDownTrySpDef
statbuffchange MOVE_EFFECT_AFFECTS_USER | MOVE_EFFECT_CERTAIN | STAT_BUFF_ALLOW_PTR, BattleScript_DefSpDefDownTrySpDef
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_DefSpDefDownTrySpDef
printfromtable gStatDownStringIds
waitmessage 0x40
BattleScript_DefSpDefDownTrySpDef::
playstatchangeanimation BS_ATTACKER, BIT_SPDEF, ATK48_DONT_CHECK_LOWER | ATK48_STAT_NEGATIVE
playstatchangeanimation BS_ATTACKER, BIT_SPDEF, STAT_CHANGE_CANT_PREVENT | STAT_CHANGE_NEGATIVE
setstatchanger STAT_SPDEF, 1, TRUE
statbuffchange MOVE_EFFECT_AFFECTS_USER | MOVE_EFFECT_CERTAIN | STAT_CHANGE_BS_PTR, BattleScript_DefSpDefDownRet
statbuffchange MOVE_EFFECT_AFFECTS_USER | MOVE_EFFECT_CERTAIN | STAT_BUFF_ALLOW_PTR, BattleScript_DefSpDefDownRet
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_DefSpDefDownRet
printfromtable gStatDownStringIds
waitmessage 0x40
@@ -5818,9 +5818,9 @@ BattleScript_OneHitKOMsg::
BattleScript_SAtkDown2::
setbyte sSTAT_ANIM_PLAYED, FALSE
playstatchangeanimation BS_ATTACKER, BIT_SPATK, ATK48_DONT_CHECK_LOWER | ATK48_STAT_NEGATIVE | ATK48_STAT_BY_TWO
playstatchangeanimation BS_ATTACKER, BIT_SPATK, STAT_CHANGE_CANT_PREVENT | STAT_CHANGE_NEGATIVE | STAT_CHANGE_BY_TWO
setstatchanger STAT_SPATK, 2, TRUE
statbuffchange MOVE_EFFECT_AFFECTS_USER | MOVE_EFFECT_CERTAIN | STAT_CHANGE_BS_PTR, BattleScript_SAtkDown2End
statbuffchange MOVE_EFFECT_AFFECTS_USER | MOVE_EFFECT_CERTAIN | STAT_BUFF_ALLOW_PTR, BattleScript_SAtkDown2End
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_SAtkDown2End
printfromtable gStatDownStringIds
waitmessage 0x40
@@ -5963,7 +5963,7 @@ BattleScript_MoveUsedFlinchedEnd:
goto BattleScript_MoveEnd
BattleScript_TryActivateSteadFast:
setstatchanger STAT_SPEED, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_MoveUsedFlinchedEnd
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_MoveUsedFlinchedEnd
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_MoveUsedFlinchedEnd
setgraphicalstatchangevalues
playanimation BS_ATTACKER, B_ANIM_STATS_CHANGE, sB_ANIM_ARG1
@@ -6322,7 +6322,7 @@ BattleScript_IntimidateActivatesLoop:
jumpifability BS_TARGET, ABILITY_CLEAR_BODY, BattleScript_IntimidatePrevented
jumpifability BS_TARGET, ABILITY_HYPER_CUTTER, BattleScript_IntimidatePrevented
jumpifability BS_TARGET, ABILITY_WHITE_SMOKE, BattleScript_IntimidatePrevented
statbuffchange STAT_CHANGE_NOT_PROTECT_AFFECTED | STAT_CHANGE_BS_PTR, BattleScript_IntimidateActivatesLoopIncrement
statbuffchange STAT_BUFF_NOT_PROTECT_AFFECTED | STAT_BUFF_ALLOW_PTR, BattleScript_IntimidateActivatesLoopIncrement
jumpifbyte CMP_GREATER_THAN, cMULTISTRING_CHOOSER, 0x1, BattleScript_IntimidateActivatesLoopIncrement
setgraphicalstatchangevalues
playanimation BS_TARGET, B_ANIM_STATS_CHANGE, sB_ANIM_ARG1
@@ -6610,7 +6610,7 @@ BattleScript_MummyActivates::
BattleScript_AngryPointActivates::
call BattleScript_AbilityPopUp
statbuffchange STAT_CHANGE_NOT_PROTECT_AFFECTED | MOVE_EFFECT_CERTAIN, NULL
statbuffchange STAT_BUFF_NOT_PROTECT_AFFECTED | MOVE_EFFECT_CERTAIN, NULL
setgraphicalstatchangevalues
playanimation BS_TARGET, B_ANIM_STATS_CHANGE, sB_ANIM_ARG1
printstring STRINGID_ANGRYPOINTACTIVATES
@@ -6619,7 +6619,7 @@ BattleScript_AngryPointActivates::
BattleScript_TargetAbilityStatRaise::
call BattleScript_AbilityPopUp
statbuffchange STAT_CHANGE_NOT_PROTECT_AFFECTED | MOVE_EFFECT_CERTAIN, NULL
statbuffchange STAT_BUFF_NOT_PROTECT_AFFECTED | MOVE_EFFECT_CERTAIN, NULL
setgraphicalstatchangevalues
playanimation BS_TARGET, B_ANIM_STATS_CHANGE, sB_ANIM_ARG1
waitanimation
@@ -6630,7 +6630,7 @@ BattleScript_TargetAbilityStatRaise::
BattleScript_WeakArmorActivates::
call BattleScript_AbilityPopUp
setstatchanger STAT_DEF, 1, TRUE
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_WeakArmorActivatesSpeed
statbuffchange STAT_BUFF_ALLOW_PTR, BattleScript_WeakArmorActivatesSpeed
jumpifbyte CMP_LESS_THAN, cMULTISTRING_CHOOSER, 0x2, BattleScript_WeakArmorDefAnim
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x3, BattleScript_WeakArmorActivatesSpeed
pause 0x10
@@ -6644,7 +6644,7 @@ BattleScript_WeakArmorDefAnim:
waitmessage 0x40
BattleScript_WeakArmorActivatesSpeed:
setstatchanger STAT_SPEED, 2, FALSE
statbuffchange STAT_CHANGE_BS_PTR, BattleScript_WeakArmorActivatesEnd
statbuffchange STAT_BUFF_ALLOW_PTR, BattleScript_WeakArmorActivatesEnd
jumpifbyte CMP_LESS_THAN, cMULTISTRING_CHOOSER, 0x2, BattleScript_WeakArmorSpeedAnim
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x3, BattleScript_WeakArmorActivatesEnd
pause 0x10
@@ -6669,7 +6669,7 @@ BattleScript_AttackerAbilityStatRaise::
return
BattleScript_FellStingerRaisesStat::
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_FellStingerRaisesAtkEnd
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_FellStingerRaisesAtkEnd
jumpifbyte CMP_GREATER_THAN, cMULTISTRING_CHOOSER, 0x1, BattleScript_FellStingerRaisesAtkEnd
setgraphicalstatchangevalues
playanimation BS_ATTACKER, B_ANIM_STATS_CHANGE, sB_ANIM_ARG1
@@ -6779,7 +6779,7 @@ BattleScript_AbilityCuredStatus::
BattleScript_IgnoresWhileAsleep::
printstring STRINGID_PKMNIGNORESASLEEP
waitmessage 0x40
moveendto ATK49_NEXT_TARGET
moveendto MOVEEND_NEXT_TARGET
end
BattleScript_IgnoresAndUsesRandomMove::
@@ -6796,7 +6796,7 @@ BattleScript_MoveUsedLoafingAround::
BattleScript_82DB6C7::
printfromtable gInobedientStringIds
waitmessage 0x40
moveendto ATK49_NEXT_TARGET
moveendto MOVEEND_NEXT_TARGET
end
BattleScript_TruantLoafingAround:
call BattleScript_AbilityPopUp
@@ -6807,7 +6807,7 @@ BattleScript_IgnoresAndFallsAsleep::
waitmessage 0x40
setmoveeffect MOVE_EFFECT_SLEEP | MOVE_EFFECT_AFFECTS_USER
seteffectprimary
moveendto ATK49_NEXT_TARGET
moveendto MOVEEND_NEXT_TARGET
end
BattleScript_IgnoresAndHitsItself::
@@ -7021,7 +7021,7 @@ BattleScript_BerryConfuseHealEnd2::
BattleScript_BerryStatRaiseEnd2::
playanimation BS_ATTACKER, B_ANIM_ITEM_EFFECT, NULL
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_BS_PTR, BattleScript_82DB85B
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_82DB85B
BattleScript_82DB85B::
setbyte cMULTISTRING_CHOOSER, 0x4
call BattleScript_StatUp

View File

@@ -25,13 +25,13 @@ gUnref_82EC784:: @ 82EC784
.4byte 0x08000400
gOverworldBackgroundLayerFlags:: @ 82EC7C4
.2byte 0x0100 /* BLDCNT_TGT2_BG0 */
.2byte 0x0200 /* BLDCNT_TGT2_BG1 */
.2byte 0x0400 /* BLDCNT_TGT2_BG2 */
.2byte 0x0800 /* BLDCNT_TGT2_BG3 */
.2byte BLDCNT_TGT2_BG0
.2byte BLDCNT_TGT2_BG1
.2byte BLDCNT_TGT2_BG2
.2byte BLDCNT_TGT2_BG3
gOrbEffectBackgroundLayerFlags:: @ 82EC7CC
.2byte 0x0001 /* BLDCNT_TGT1_BG0 */
.2byte 0x0002 /* BLDCNT_TGT1_BG1 */
.2byte 0x0004 /* BLDCNT_TGT1_BG2 */
.2byte 0x0008 /* BLDCNT_TGT1_BG3 */
.2byte BLDCNT_TGT1_BG0
.2byte BLDCNT_TGT1_BG1
.2byte BLDCNT_TGT1_BG2
.2byte BLDCNT_TGT1_BG3

View File

@@ -41,7 +41,7 @@ AquaHideout_1F_EventScript_SlateportHint2:: @ 82334EE
end
AquaHideout_1F_EventScript_Grunt1:: @ 82334F8
trainerbattle_single TRAINER_GRUNT_1, AquaHideout_1F_Text_Grunt1Intro, AquaHideout_1F_Text_Grunt1Defeat, AquaHideout_1F_EventScript_Grunt1Defeated
trainerbattle_single TRAINER_GRUNT_AQUA_HIDEOUT_1, AquaHideout_1F_Text_Grunt1Intro, AquaHideout_1F_Text_Grunt1Defeat, AquaHideout_1F_EventScript_Grunt1Defeated
msgbox AquaHideout_1F_Text_Grunt1PostBattle, MSGBOX_AUTOCLOSE
end

View File

@@ -63,7 +63,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
"script": "AquaHideout_B1F_EventScript_Grunt21",
"script": "AquaHideout_B1F_EventScript_Grunt5",
"flag": "FLAG_HIDE_AQUA_HIDEOUT_GRUNTS"
},
{
@@ -128,7 +128,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
"script": "AquaHideout_B1F_EventScript_Grunt25",
"script": "AquaHideout_B1F_EventScript_Grunt7",
"flag": "FLAG_HIDE_AQUA_HIDEOUT_GRUNTS"
}
],

View File

@@ -82,7 +82,7 @@ AquaHideout_B1F_EventScript_DefeatedElectrode2:: @ 8233A7C
end
AquaHideout_B1F_EventScript_Grunt2:: @ 8233A85
trainerbattle_single TRAINER_GRUNT_2, AquaHideout_B1F_Text_Grunt2Intro, AquaHideout_B1F_Text_Grunt2Defeat, AquaHideout_B1F_EventScript_Grunt2Defeated
trainerbattle_single TRAINER_GRUNT_AQUA_HIDEOUT_2, AquaHideout_B1F_Text_Grunt2Intro, AquaHideout_B1F_Text_Grunt2Defeat, AquaHideout_B1F_EventScript_Grunt2Defeated
msgbox AquaHideout_B1F_Text_Grunt2PostBattle, MSGBOX_AUTOCLOSE
end
@@ -94,7 +94,7 @@ AquaHideout_B1F_EventScript_Grunt2Defeated:: @ 8233AA0
end
AquaHideout_B1F_EventScript_Grunt3:: @ 8233AB0
trainerbattle_single TRAINER_GRUNT_3, AquaHideout_B1F_Text_Grunt3Intro, AquaHideout_B1F_Text_Grunt3Defeat, AquaHideout_B1F_EventScript_Grunt3Defeated
trainerbattle_single TRAINER_GRUNT_AQUA_HIDEOUT_3, AquaHideout_B1F_Text_Grunt3Intro, AquaHideout_B1F_Text_Grunt3Defeat, AquaHideout_B1F_EventScript_Grunt3Defeated
msgbox AquaHideout_B1F_Text_Grunt3PostBattle, MSGBOX_AUTOCLOSE
end
@@ -103,14 +103,14 @@ AquaHideout_B1F_EventScript_Grunt3Defeated:: @ 8233ACB
release
end
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
AquaHideout_B1F_EventScript_Grunt5:: @ 8233AD5
trainerbattle_single TRAINER_GRUNT_AQUA_HIDEOUT_5, AquaHideout_B1F_Text_Grunt5Intro, AquaHideout_B1F_Text_Grunt5Defeat
msgbox AquaHideout_B1F_Text_Grunt5PostBattle, MSGBOX_AUTOCLOSE
end
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
AquaHideout_B1F_EventScript_Grunt7:: @ 8233AEC
trainerbattle_single TRAINER_GRUNT_AQUA_HIDEOUT_7, AquaHideout_B1F_Text_Grunt7Intro, AquaHideout_B1F_Text_Grunt7Defeat
msgbox AquaHideout_B1F_Text_Grunt7PostBattle, MSGBOX_AUTOCLOSE
end
AquaHideout_B1F_Text_Grunt2Intro: @ 8233B03
@@ -141,27 +141,27 @@ AquaHideout_B1F_Text_Grunt3PostBattle: @ 8233C41
.string "This was supposed to happen!\p"
.string "My mission was to just hold you up!$"
AquaHideout_B1F_Text_Grunt21Intro: @ 8233C89
AquaHideout_B1F_Text_Grunt5Intro: @ 8233C89
.string "Yawn… Keeping watch over the\n"
.string "HIDEOUT bores me. I'll take you on.$"
AquaHideout_B1F_Text_Grunt21Defeat: @ 8233CCA
AquaHideout_B1F_Text_Grunt5Defeat: @ 8233CCA
.string "Yawn…\n"
.string "Oh, I lost…$"
AquaHideout_B1F_Text_Grunt21PostBattle: @ 8233CDC
AquaHideout_B1F_Text_Grunt5PostBattle: @ 8233CDC
.string "If you scurry too much, other TEAM\n"
.string "AQUA members might get you.$"
AquaHideout_B1F_Text_Grunt25Intro: @ 8233D1B
AquaHideout_B1F_Text_Grunt7Intro: @ 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_Grunt25Defeat: @ 8233D6E
AquaHideout_B1F_Text_Grunt7Defeat: @ 8233D6E
.string "I lost in a cool way…$"
AquaHideout_B1F_Text_Grunt25PostBattle: @ 8233D84
AquaHideout_B1F_Text_Grunt7PostBattle: @ 8233D84
.string "If you have a cool uniform, you look\n"
.string "good even in a loss, don't you think?$"

View File

@@ -76,7 +76,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "5",
"script": "AquaHideout_B2F_EventScript_Grunt22",
"script": "AquaHideout_B2F_EventScript_Grunt6",
"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_Grunt26",
"script": "AquaHideout_B2F_EventScript_Grunt8",
"flag": "FLAG_HIDE_AQUA_HIDEOUT_GRUNTS"
}
],

View File

@@ -67,7 +67,7 @@ AquaHideout_B2F_Movement_SumbarineDepartRight: @ 8233E85
step_end
AquaHideout_B2F_EventScript_Grunt4:: @ 8233E8A
trainerbattle_single TRAINER_GRUNT_4, AquaHideout_B2F_Text_Grunt4Intro, AquaHideout_B2F_Text_Grunt4Defeat, AquaHideout_B2F_EventScript_Grunt4Defeated
trainerbattle_single TRAINER_GRUNT_AQUA_HIDEOUT_4, AquaHideout_B2F_Text_Grunt4Intro, AquaHideout_B2F_Text_Grunt4Defeat, AquaHideout_B2F_EventScript_Grunt4Defeated
msgbox AquaHideout_B2F_Text_Grunt4PostBattle, MSGBOX_AUTOCLOSE
end
@@ -76,14 +76,14 @@ AquaHideout_B2F_EventScript_Grunt4Defeated:: @ 8233EA5
release
end
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
AquaHideout_B2F_EventScript_Grunt6:: @ 8233EAF
trainerbattle_single TRAINER_GRUNT_AQUA_HIDEOUT_6, AquaHideout_B2F_Text_Grunt6Intro, AquaHideout_B2F_Text_Grunt6Defeat
msgbox AquaHideout_B2F_Text_Grunt6PostBattle, MSGBOX_AUTOCLOSE
end
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
AquaHideout_B2F_EventScript_Grunt8:: @ 8233EC6
trainerbattle_single TRAINER_GRUNT_AQUA_HIDEOUT_8, AquaHideout_B2F_Text_Grunt8Intro, AquaHideout_B2F_Text_Grunt8Defeat
msgbox AquaHideout_B2F_Text_Grunt8PostBattle, MSGBOX_AUTOCLOSE
end
AquaHideout_B2F_Text_MattIntro: @ 8233EDD
@@ -127,7 +127,7 @@ AquaHideout_B2F_Text_Grunt4PostBattle: @ 8234112
.string "BOSS…\n"
.string "Is this good enough?$"
AquaHideout_B2F_Text_Grunt22Intro: @ 823412D
AquaHideout_B2F_Text_Grunt6Intro: @ 823412D
.string "Warp panels, the HIDEOUT's pride\n"
.string "and joy!\p"
.string "You're clueless about where you are,\n"
@@ -135,25 +135,25 @@ AquaHideout_B2F_Text_Grunt22Intro: @ 823412D
.string "Fluster and tire out the enemy, then\n"
.string "lower the boom! That's our plan!$"
AquaHideout_B2F_Text_Grunt22Defeat: @ 82341CE
AquaHideout_B2F_Text_Grunt6Defeat: @ 82341CE
.string "What's wrong with you?\n"
.string "You're not tired at all!$"
AquaHideout_B2F_Text_Grunt22PostBattle: @ 82341FE
AquaHideout_B2F_Text_Grunt6PostBattle: @ 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_Grunt26Intro: @ 823426F
AquaHideout_B2F_Text_Grunt8Intro: @ 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_Grunt26Defeat: @ 82342CC
AquaHideout_B2F_Text_Grunt8Defeat: @ 82342CC
.string "I was too occupied thinking about\n"
.string "the warp panels…$"
AquaHideout_B2F_Text_Grunt26PostBattle: @ 82342FF
AquaHideout_B2F_Text_Grunt8PostBattle: @ 82342FF
.string "I'll have to learn about how I can\n"
.string "battle more effectively…$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_Mart_EventScript_267ACC",
"script": "BattleFrontier_Mart_EventScript_Clerk",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_Mart_EventScript_267B0B",
"script": "BattleFrontier_Mart_EventScript_OldWoman",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_Mart_EventScript_267B02",
"script": "BattleFrontier_Mart_EventScript_OldMan",
"flag": "0"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_Mart_EventScript_267B20",
"script": "BattleFrontier_Mart_EventScript_Boy",
"flag": "0"
}
],

View File

@@ -1,18 +1,18 @@
BattleFrontier_Mart_MapScripts:: @ 8267ACB
.byte 0
BattleFrontier_Mart_EventScript_267ACC:: @ 8267ACC
BattleFrontier_Mart_EventScript_Clerk:: @ 8267ACC
lock
faceplayer
message gText_HowMayIServeYou
waitmessage
pokemart BattleFrontier_Mart_Pokemart_267AE4
pokemart BattleFrontier_Mart_Pokemart
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
.align 2
BattleFrontier_Mart_Pokemart_267AE4: @ 8267AE4
BattleFrontier_Mart_Pokemart: @ 8267AE4
.2byte ITEM_ULTRA_BALL
.2byte ITEM_HYPER_POTION
.2byte ITEM_MAX_POTION
@@ -30,35 +30,35 @@ BattleFrontier_Mart_Pokemart_267AE4: @ 8267AE4
release
end
BattleFrontier_Mart_EventScript_267B02:: @ 8267B02
msgbox BattleFrontier_Mart_Text_267B29, MSGBOX_NPC
BattleFrontier_Mart_EventScript_OldMan:: @ 8267B02
msgbox BattleFrontier_Mart_Text_ChaperonGrandson, MSGBOX_NPC
end
BattleFrontier_Mart_EventScript_267B0B:: @ 8267B0B
BattleFrontier_Mart_EventScript_OldWoman:: @ 8267B0B
lock
applymovement 2, Common_Movement_FaceDown
waitmovement 0
msgbox BattleFrontier_Mart_Text_267B8F, MSGBOX_DEFAULT
msgbox BattleFrontier_Mart_Text_ProteinMakeNiceGift, MSGBOX_DEFAULT
release
end
BattleFrontier_Mart_EventScript_267B20:: @ 8267B20
msgbox BattleFrontier_Mart_Text_267C01, MSGBOX_NPC
BattleFrontier_Mart_EventScript_Boy:: @ 8267B20
msgbox BattleFrontier_Mart_Text_FacilitiesDontAllowItems, MSGBOX_NPC
end
BattleFrontier_Mart_Text_267B29: @ 8267B29
BattleFrontier_Mart_Text_ChaperonGrandson: @ 8267B29
.string "We came here to chaperon our\n"
.string "grandson.\p"
.string "But since we're here, we thought\n"
.string "we should get some souvenirs.$"
BattleFrontier_Mart_Text_267B8F: @ 8267B8F
BattleFrontier_Mart_Text_ProteinMakeNiceGift: @ 8267B8F
.string "Dear, what do you think of this?\n"
.string "Wouldn't this make a nice gift?\p"
.string "It's…PRO…TE…IN?\n"
.string "It sounds delicious, doesn't it?$"
BattleFrontier_Mart_Text_267C01: @ 8267C01
BattleFrontier_Mart_Text_FacilitiesDontAllowItems: @ 8267C01
.string "A lot of the BATTLE FRONTIER's\n"
.string "facilities don't allow the use of items\l"
.string "during battles.\p"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_PokemonCenter_1F_EventScript_267908",
"script": "BattleFrontier_PokemonCenter_1F_EventScript_Nurse",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_PokemonCenter_1F_EventScript_267916",
"script": "BattleFrontier_PokemonCenter_1F_EventScript_SchoolKid",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_PokemonCenter_1F_EventScript_26791F",
"script": "BattleFrontier_PokemonCenter_1F_EventScript_Man",
"flag": "0"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_PokemonCenter_1F_EventScript_267928",
"script": "BattleFrontier_PokemonCenter_1F_EventScript_Picnicker",
"flag": "0"
},
{
@@ -76,7 +76,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_PokemonCenter_1F_EventScript_267931",
"script": "BattleFrontier_PokemonCenter_1F_EventScript_Skitty",
"flag": "0"
}
],

View File

@@ -1,13 +1,14 @@
BattleFrontier_PokemonCenter_1F_MapScripts:: @ 82678F9
map_script MAP_SCRIPT_ON_TRANSITION, BattleFrontier_PokemonCenter_1F_MapScript1_267904
map_script MAP_SCRIPT_ON_TRANSITION, BattleFrontier_PokemonCenter_1F_OnTransition
map_script MAP_SCRIPT_ON_RESUME, CableClub_OnResume
.byte 0
BattleFrontier_PokemonCenter_1F_MapScript1_267904: @ 8267904
BattleFrontier_PokemonCenter_1F_OnTransition: @ 8267904
setrespawn HEAL_LOCATION_BATTLE_FRONTIER_OUTSIDE_EAST
end
BattleFrontier_PokemonCenter_1F_EventScript_267908:: @ 8267908
@ VAR_0x800B is the Nurse's object event id
BattleFrontier_PokemonCenter_1F_EventScript_Nurse:: @ 8267908
setvar VAR_0x800B, 1
call Common_EventScript_PkmnCenterNurse
waitmessage
@@ -15,29 +16,29 @@ BattleFrontier_PokemonCenter_1F_EventScript_267908:: @ 8267908
release
end
BattleFrontier_PokemonCenter_1F_EventScript_267916:: @ 8267916
msgbox BattleFrontier_PokemonCenter_1F_Text_267944, MSGBOX_NPC
BattleFrontier_PokemonCenter_1F_EventScript_SchoolKid:: @ 8267916
msgbox BattleFrontier_PokemonCenter_1F_Text_NeverSeenPokemon, MSGBOX_NPC
end
BattleFrontier_PokemonCenter_1F_EventScript_26791F:: @ 826791F
msgbox BattleFrontier_PokemonCenter_1F_Text_2679EB, MSGBOX_NPC
BattleFrontier_PokemonCenter_1F_EventScript_Man:: @ 826791F
msgbox BattleFrontier_PokemonCenter_1F_Text_NextStopBattleArena, MSGBOX_NPC
end
BattleFrontier_PokemonCenter_1F_EventScript_267928:: @ 8267928
msgbox BattleFrontier_PokemonCenter_1F_Text_267A4B, MSGBOX_NPC
BattleFrontier_PokemonCenter_1F_EventScript_Picnicker:: @ 8267928
msgbox BattleFrontier_PokemonCenter_1F_Text_GoingThroughEveryChallenge, MSGBOX_NPC
end
BattleFrontier_PokemonCenter_1F_EventScript_267931:: @ 8267931
BattleFrontier_PokemonCenter_1F_EventScript_Skitty:: @ 8267931
lock
faceplayer
waitse
playmoncry SPECIES_SKITTY, 0
msgbox BattleFrontier_PokemonCenter_1F_Text_267A90, MSGBOX_DEFAULT
msgbox BattleFrontier_PokemonCenter_1F_Text_Skitty, MSGBOX_DEFAULT
waitmoncry
release
end
BattleFrontier_PokemonCenter_1F_Text_267944: @ 8267944
BattleFrontier_PokemonCenter_1F_Text_NeverSeenPokemon: @ 8267944
.string "There was someone here using a \n"
.string "POKéMON I've never seen before.\p"
.string "I never learned about it at\n"
@@ -45,15 +46,15 @@ BattleFrontier_PokemonCenter_1F_Text_267944: @ 8267944
.string "I wonder where you can catch POKéMON\n"
.string "like that.$"
BattleFrontier_PokemonCenter_1F_Text_2679EB: @ 82679EB
BattleFrontier_PokemonCenter_1F_Text_NextStopBattleArena: @ 82679EB
.string "Okay! Next stop, the BATTLE ARENA!\n"
.string "I'd better get the right POKéMON from\l"
.string "the PC Storage System.$"
BattleFrontier_PokemonCenter_1F_Text_267A4B: @ 8267A4B
BattleFrontier_PokemonCenter_1F_Text_GoingThroughEveryChallenge: @ 8267A4B
.string "Giggle… I'm going to go through every\n"
.string "challenge with just this baby!$"
BattleFrontier_PokemonCenter_1F_Text_267A90: @ 8267A90
BattleFrontier_PokemonCenter_1F_Text_Skitty: @ 8267A90
.string "SKITTY: Mya myaaah!$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_PokemonCenter_1F_EventScript_1FC537",
"script": "DewfordTown_PokemonCenter_1F_EventScript_Nurse",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_PokemonCenter_1F_EventScript_1FC545",
"script": "DewfordTown_PokemonCenter_1F_EventScript_PokefanF",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "DewfordTown_PokemonCenter_1F_EventScript_1FC54E",
"script": "DewfordTown_PokemonCenter_1F_EventScript_Man",
"flag": "0"
}
],

View File

@@ -8,7 +8,8 @@ DewfordTown_PokemonCenter_1F_OnTransition: @ 81FC52E
call Common_EventScript_UpdateBrineyLocation
end
DewfordTown_PokemonCenter_1F_EventScript_1FC537:: @ 81FC537
@ VAR_0x800B is the Nurse's object event id
DewfordTown_PokemonCenter_1F_EventScript_Nurse:: @ 81FC537
setvar VAR_0x800B, 1
call Common_EventScript_PkmnCenterNurse
waitmessage
@@ -16,21 +17,21 @@ DewfordTown_PokemonCenter_1F_EventScript_1FC537:: @ 81FC537
release
end
DewfordTown_PokemonCenter_1F_EventScript_1FC545:: @ 81FC545
msgbox DewfordTown_PokemonCenter_1F_Text_1FC557, MSGBOX_NPC
DewfordTown_PokemonCenter_1F_EventScript_PokefanF:: @ 81FC545
msgbox DewfordTown_PokemonCenter_1F_Text_StoneCavern, MSGBOX_NPC
end
DewfordTown_PokemonCenter_1F_EventScript_1FC54E:: @ 81FC54E
msgbox DewfordTown_PokemonCenter_1F_Text_1FC5AE, MSGBOX_NPC
DewfordTown_PokemonCenter_1F_EventScript_Man:: @ 81FC54E
msgbox DewfordTown_PokemonCenter_1F_Text_FaintedMonCanUseHM, MSGBOX_NPC
end
DewfordTown_PokemonCenter_1F_Text_1FC557: @ 81FC557
DewfordTown_PokemonCenter_1F_Text_StoneCavern: @ 81FC557
.string "There's a stone cavern at the edge\n"
.string "of town.\p"
.string "I've heard you can find rare stones\n"
.string "there.$"
DewfordTown_PokemonCenter_1F_Text_1FC5AE: @ 81FC5AE
DewfordTown_PokemonCenter_1F_Text_FaintedMonCanUseHM: @ 81FC5AE
.string "Even if a POKéMON faints and can't\n"
.string "battle, it can still use a move learned\l"
.string "from a HIDDEN MACHINE (HM).$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "EverGrandeCity_PokemonCenter_1F_EventScript_229A59",
"script": "EverGrandeCity_PokemonCenter_1F_EventScript_Nurse",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "EverGrandeCity_PokemonCenter_1F_EventScript_229A67",
"script": "EverGrandeCity_PokemonCenter_1F_EventScript_Woman",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "EverGrandeCity_PokemonCenter_1F_EventScript_229A70",
"script": "EverGrandeCity_PokemonCenter_1F_EventScript_ExpertM",
"flag": "0"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "EverGrandeCity_PokemonCenter_1F_EventScript_229A79",
"script": "EverGrandeCity_PokemonCenter_1F_EventScript_Scott",
"flag": "FLAG_HIDE_EVER_GRANDE_POKEMON_CENTER_1F_SCOTT"
}
],

View File

@@ -5,15 +5,16 @@ EverGrandeCity_PokemonCenter_1F_MapScripts:: @ 8229A34
EverGrandeCity_PokemonCenter_1F_OnTransition: @ 8229A3F
setrespawn HEAL_LOCATION_EVER_GRANDE_CITY_1
call_if_unset FLAG_MET_SCOTT_IN_EVERGRANDE, EverGrandeCity_PokemonCenter_1F_EventScript_229A4C
call_if_unset FLAG_MET_SCOTT_IN_EVERGRANDE, EverGrandeCity_PokemonCenter_1F_EventScript_TryShowScott
end
EverGrandeCity_PokemonCenter_1F_EventScript_229A4C:: @ 8229A4C
EverGrandeCity_PokemonCenter_1F_EventScript_TryShowScott:: @ 8229A4C
goto_if_unset FLAG_BADGE06_GET, Common_EventScript_NopReturn
clearflag FLAG_HIDE_EVER_GRANDE_POKEMON_CENTER_1F_SCOTT
return
EverGrandeCity_PokemonCenter_1F_EventScript_229A59:: @ 8229A59
@ VAR_0x800B is the Nurse's object event id
EverGrandeCity_PokemonCenter_1F_EventScript_Nurse:: @ 8229A59
setvar VAR_0x800B, 1
call Common_EventScript_PkmnCenterNurse
waitmessage
@@ -21,25 +22,25 @@ EverGrandeCity_PokemonCenter_1F_EventScript_229A59:: @ 8229A59
release
end
EverGrandeCity_PokemonCenter_1F_EventScript_229A67:: @ 8229A67
msgbox EverGrandeCity_PokemonCenter_1F_Text_229ADA, MSGBOX_NPC
EverGrandeCity_PokemonCenter_1F_EventScript_Woman:: @ 8229A67
msgbox EverGrandeCity_PokemonCenter_1F_Text_LeagueAfterVictoryRoad, MSGBOX_NPC
end
EverGrandeCity_PokemonCenter_1F_EventScript_229A70:: @ 8229A70
msgbox EverGrandeCity_PokemonCenter_1F_Text_229B62, MSGBOX_NPC
EverGrandeCity_PokemonCenter_1F_EventScript_ExpertM:: @ 8229A70
msgbox EverGrandeCity_PokemonCenter_1F_Text_BelieveInYourPokemon, MSGBOX_NPC
end
EverGrandeCity_PokemonCenter_1F_EventScript_229A79:: @ 8229A79
EverGrandeCity_PokemonCenter_1F_EventScript_Scott:: @ 8229A79
lock
faceplayer
msgbox EverGrandeCity_PokemonCenter_1F_Text_229BF1, MSGBOX_DEFAULT
msgbox EverGrandeCity_PokemonCenter_1F_Text_ScottHappyForYou, MSGBOX_DEFAULT
closemessage
compare VAR_FACING, DIR_NORTH
call_if_eq EverGrandeCity_PokemonCenter_1F_EventScript_229AB6
call_if_eq EverGrandeCity_PokemonCenter_1F_EventScript_ScottExitNorth
compare VAR_FACING, DIR_EAST
call_if_eq EverGrandeCity_PokemonCenter_1F_EventScript_229AC1
call_if_eq EverGrandeCity_PokemonCenter_1F_EventScript_ScottExit
compare VAR_FACING, DIR_WEST
call_if_eq EverGrandeCity_PokemonCenter_1F_EventScript_229AC1
call_if_eq EverGrandeCity_PokemonCenter_1F_EventScript_ScottExit
addvar VAR_SCOTT_STATE, 1
setflag FLAG_MET_SCOTT_IN_EVERGRANDE
playse SE_KAIDAN
@@ -48,17 +49,17 @@ EverGrandeCity_PokemonCenter_1F_EventScript_229A79:: @ 8229A79
release
end
EverGrandeCity_PokemonCenter_1F_EventScript_229AB6:: @ 8229AB6
applymovement 4, EverGrandeCity_PokemonCenter_1F_Movement_229ACC
EverGrandeCity_PokemonCenter_1F_EventScript_ScottExitNorth:: @ 8229AB6
applymovement 4, EverGrandeCity_PokemonCenter_1F_Movement_ScottExitNorth
waitmovement 0
return
EverGrandeCity_PokemonCenter_1F_EventScript_229AC1:: @ 8229AC1
applymovement 4, EverGrandeCity_PokemonCenter_1F_Movement_229AD3
EverGrandeCity_PokemonCenter_1F_EventScript_ScottExit:: @ 8229AC1
applymovement 4, EverGrandeCity_PokemonCenter_1F_Movement_ScottExit
waitmovement 0
return
EverGrandeCity_PokemonCenter_1F_Movement_229ACC: @ 8229ACC
EverGrandeCity_PokemonCenter_1F_Movement_ScottExitNorth: @ 8229ACC
walk_left
walk_down
walk_down
@@ -67,7 +68,7 @@ EverGrandeCity_PokemonCenter_1F_Movement_229ACC: @ 8229ACC
walk_down
step_end
EverGrandeCity_PokemonCenter_1F_Movement_229AD3: @ 8229AD3
EverGrandeCity_PokemonCenter_1F_Movement_ScottExit: @ 8229AD3
walk_down
walk_down
walk_left
@@ -76,20 +77,20 @@ EverGrandeCity_PokemonCenter_1F_Movement_229AD3: @ 8229AD3
walk_down
step_end
EverGrandeCity_PokemonCenter_1F_Text_229ADA: @ 8229ADA
EverGrandeCity_PokemonCenter_1F_Text_LeagueAfterVictoryRoad: @ 8229ADA
.string "The POKéMON LEAGUE is only a short\n"
.string "distance after the VICTORY ROAD.\p"
.string "If you've come this far, what choice\n"
.string "do you have but to keep going?$"
EverGrandeCity_PokemonCenter_1F_Text_229B62: @ 8229B62
EverGrandeCity_PokemonCenter_1F_Text_BelieveInYourPokemon: @ 8229B62
.string "The long and harrowing VICTORY ROAD…\p"
.string "It's like reliving the path one has\n"
.string "traveled in life…\p"
.string "Believe in your POKéMON and give it\n"
.string "your very best!$"
EverGrandeCity_PokemonCenter_1F_Text_229BF1: @ 8229BF1
EverGrandeCity_PokemonCenter_1F_Text_ScottHappyForYou: @ 8229BF1
.string "SCOTT: {PLAYER}{KUN}, you've clawed your\n"
.string "way up to face the POKéMON LEAGUE!\p"
.string "I'm happy for you!\n"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "EverGrandeCity_PokemonLeague_1F_EventScript_2295FC",
"script": "EverGrandeCity_PokemonLeague_1F_EventScript_Nurse",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "EverGrandeCity_PokemonLeague_1F_EventScript_22960A",
"script": "EverGrandeCity_PokemonLeague_1F_EventScript_Clerk",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "EverGrandeCity_PokemonLeague_1F_EventScript_229636",
"script": "EverGrandeCity_PokemonLeague_1F_EventScript_DoorGuard",
"flag": "0"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "EverGrandeCity_PokemonLeague_1F_EventScript_229636",
"script": "EverGrandeCity_PokemonLeague_1F_EventScript_DoorGuard",
"flag": "0"
}
],

View File

@@ -6,15 +6,16 @@ EverGrandeCity_PokemonLeague_1F_MapScripts:: @ 82295D2
EverGrandeCity_PokemonLeague_1F_OnTransition: @ 82295DD
setrespawn HEAL_LOCATION_EVER_GRANDE_CITY_2
setflag FLAG_LANDMARK_POKEMON_LEAGUE
call_if_unset FLAG_ENTERED_ELITE_FOUR, EverGrandeCity_PokemonLeague_1F_EventScript_2295ED
call_if_unset FLAG_ENTERED_ELITE_FOUR, EverGrandeCity_PokemonLeague_1F_EventScript_GuardsBlockDoor
end
EverGrandeCity_PokemonLeague_1F_EventScript_2295ED:: @ 82295ED
EverGrandeCity_PokemonLeague_1F_EventScript_GuardsBlockDoor:: @ 82295ED
setobjectxyperm 3, 9, 2
setobjectxyperm 4, 10, 2
return
EverGrandeCity_PokemonLeague_1F_EventScript_2295FC:: @ 82295FC
@ VAR_0x800B is the Nurse's object event id
EverGrandeCity_PokemonLeague_1F_EventScript_Nurse:: @ 82295FC
setvar VAR_0x800B, 1
call Common_EventScript_PkmnCenterNurse
waitmessage
@@ -22,18 +23,18 @@ EverGrandeCity_PokemonLeague_1F_EventScript_2295FC:: @ 82295FC
release
end
EverGrandeCity_PokemonLeague_1F_EventScript_22960A:: @ 822960A
EverGrandeCity_PokemonLeague_1F_EventScript_Clerk:: @ 822960A
lock
faceplayer
message gText_HowMayIServeYou
waitmessage
pokemart EverGrandeCity_PokemonLeague_1F_Pokemart_229624
pokemart EverGrandeCity_PokemonLeague_1F_Pokemart
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
.align 2
EverGrandeCity_PokemonLeague_1F_Pokemart_229624: @ 8229624
EverGrandeCity_PokemonLeague_1F_Pokemart: @ 8229624
.2byte ITEM_ULTRA_BALL
.2byte ITEM_HYPER_POTION
.2byte ITEM_MAX_POTION
@@ -45,52 +46,27 @@ EverGrandeCity_PokemonLeague_1F_Pokemart_229624: @ 8229624
release
end
EverGrandeCity_PokemonLeague_1F_EventScript_229636:: @ 8229636
special SavePlayerParty
fadescreen 1
special ChooseHalfPartyForBattle
waitstate
@ Check here to see if the player didn't choose Cancel.
special ReducePlayerPartyToSelectedMons
setvar VAR_0x8004, 2
setvar VAR_0x8005, 4
special CallFrontierUtilFunc
trainerbattle 10, 1, 0, NULL, EverGrandeCity_PokemonLeague_1F_Text_2296E8
trainerbattle 11, TRAINER_ALEXA, 0, NULL, EverGrandeCity_PokemonLeague_1F_Text_2297EF
setvar VAR_0x8004, SPECIAL_BATTLE_MULTI
setvar VAR_0x8005, 2 | 0x80
setvar VAR_0x8006, TRAINER_EDWARDO
setvar VAR_0x8007, TRAINER_BACK_PIC_LEAF
special DoSpecialTrainerBattle
waitstate
setvar VAR_0x8004, 6
special CallFrontierUtilFunc
special LoadPlayerParty
@ The door guards only check for FLAG_BADGE06_GET because Winonas badge is the only one that can be skipped
@ Its assumed the player has the remaining badges
EverGrandeCity_PokemonLeague_1F_EventScript_DoorGuard:: @ 8229636
lockall
goto_if_set FLAG_ENTERED_ELITE_FOUR, EverGrandeCity_PokemonLeague_1F_EventScript_2296BB
goto_if_set FLAG_ENTERED_ELITE_FOUR, EverGrandeCity_PokemonLeague_1F_EventScript_GoForth
getplayerxy VAR_TEMP_0, VAR_TEMP_1
compare VAR_TEMP_0, 11
call_if_ge EverGrandeCity_PokemonLeague_1F_EventScript_229698
call_if_ge EverGrandeCity_PokemonLeague_1F_EventScript_PlayerMoveToFrontFromRight
compare VAR_TEMP_0, 8
call_if_le EverGrandeCity_PokemonLeague_1F_EventScript_2296A3
message EverGrandeCity_PokemonLeague_1F_Text_2296E8
call_if_le EverGrandeCity_PokemonLeague_1F_EventScript_PlayerMoveToFrontFromLeft
message EverGrandeCity_PokemonLeague_1F_Text_MustHaveAllGymBadges
waitmessage
delay 120
goto_if_unset FLAG_BADGE06_GET, EverGrandeCity_PokemonLeague_1F_EventScript_2296AE
goto_if_unset FLAG_BADGE06_GET, EverGrandeCity_PokemonLeague_1F_EventScript_NotAllBadges
closemessage
applymovement 3, EverGrandeCity_PokemonLeague_1F_Movement_2296E2
applymovement 4, EverGrandeCity_PokemonLeague_1F_Movement_2296E5
applymovement 3, EverGrandeCity_PokemonLeague_1F_Movement_LeftGuardOutOfWay
applymovement 4, EverGrandeCity_PokemonLeague_1F_Movement_RightGuardOutOfWay
waitmovement 0
delay 10
playfanfare MUS_ME_BACHI
message EverGrandeCity_PokemonLeague_1F_Text_2297EF
message EverGrandeCity_PokemonLeague_1F_Text_GoForth
waitmessage
waitfanfare
closemessage
@@ -100,67 +76,67 @@ EverGrandeCity_PokemonLeague_1F_EventScript_229636:: @ 8229636
releaseall
end
EverGrandeCity_PokemonLeague_1F_EventScript_229698:: @ 8229698
applymovement EVENT_OBJ_ID_PLAYER, EverGrandeCity_PokemonLeague_1F_Movement_2296DA
EverGrandeCity_PokemonLeague_1F_EventScript_PlayerMoveToFrontFromRight:: @ 8229698
applymovement EVENT_OBJ_ID_PLAYER, EverGrandeCity_PokemonLeague_1F_Movement_MoveToFrontFromRight
waitmovement 0
return
EverGrandeCity_PokemonLeague_1F_EventScript_2296A3:: @ 82296A3
applymovement EVENT_OBJ_ID_PLAYER, EverGrandeCity_PokemonLeague_1F_Movement_2296DE
EverGrandeCity_PokemonLeague_1F_EventScript_PlayerMoveToFrontFromLeft:: @ 82296A3
applymovement EVENT_OBJ_ID_PLAYER, EverGrandeCity_PokemonLeague_1F_Movement_MoveToFrontFromLeft
waitmovement 0
return
EverGrandeCity_PokemonLeague_1F_EventScript_2296AE:: @ 82296AE
EverGrandeCity_PokemonLeague_1F_EventScript_NotAllBadges:: @ 82296AE
playse SE_HAZURE
msgbox EverGrandeCity_PokemonLeague_1F_Text_229787, MSGBOX_DEFAULT
msgbox EverGrandeCity_PokemonLeague_1F_Text_HaventObtainedAllBadges, MSGBOX_DEFAULT
releaseall
end
EverGrandeCity_PokemonLeague_1F_EventScript_2296BB:: @ 82296BB
EverGrandeCity_PokemonLeague_1F_EventScript_GoForth:: @ 82296BB
applymovement VAR_LAST_TALKED, Common_Movement_FacePlayer
waitmovement 0
msgbox EverGrandeCity_PokemonLeague_1F_Text_2297EF, MSGBOX_DEFAULT
msgbox EverGrandeCity_PokemonLeague_1F_Text_GoForth, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, Common_Movement_FaceOriginalDirection
waitmovement 0
releaseall
end
EverGrandeCity_PokemonLeague_1F_Movement_2296DA: @ 82296DA
EverGrandeCity_PokemonLeague_1F_Movement_MoveToFrontFromRight: @ 82296DA
walk_down
walk_left
walk_in_place_fastest_up
step_end
EverGrandeCity_PokemonLeague_1F_Movement_2296DE: @ 82296DE
EverGrandeCity_PokemonLeague_1F_Movement_MoveToFrontFromLeft: @ 82296DE
walk_down
walk_right
walk_in_place_fastest_up
step_end
EverGrandeCity_PokemonLeague_1F_Movement_2296E2: @ 82296E2
EverGrandeCity_PokemonLeague_1F_Movement_LeftGuardOutOfWay: @ 82296E2
walk_left
walk_in_place_fastest_down
step_end
EverGrandeCity_PokemonLeague_1F_Movement_2296E5: @ 82296E5
EverGrandeCity_PokemonLeague_1F_Movement_RightGuardOutOfWay: @ 82296E5
walk_right
walk_in_place_fastest_down
step_end
EverGrandeCity_PokemonLeague_1F_Text_2296E8: @ 82296E8
EverGrandeCity_PokemonLeague_1F_Text_MustHaveAllGymBadges: @ 82296E8
.string "Beyond this point, only those TRAINERS\n"
.string "who have collected all the GYM BADGES\l"
.string "are permitted to enter.\p"
.string "TRAINER, let us confirm that you have\n"
.string "all the GYM BADGES.$"
EverGrandeCity_PokemonLeague_1F_Text_229787: @ 8229787
EverGrandeCity_PokemonLeague_1F_Text_HaventObtainedAllBadges: @ 8229787
.string "You haven't obtained all the BADGES.\p"
.string "If you're bound for the POKéMON\n"
.string "LEAGUE, you must return with them.$"
EverGrandeCity_PokemonLeague_1F_Text_2297EF: @ 82297EF
EverGrandeCity_PokemonLeague_1F_Text_GoForth: @ 82297EF
.string "TRAINER! Believe in yourself and your\n"
.string "POKéMON, and go forth!$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FallarborTown_Mart_EventScript_1FFCBF",
"script": "FallarborTown_Mart_EventScript_Clerk",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FallarborTown_Mart_EventScript_1FFCF4",
"script": "FallarborTown_Mart_EventScript_Woman",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FallarborTown_Mart_EventScript_1FFCFD",
"script": "FallarborTown_Mart_EventScript_PokefanM",
"flag": "0"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FallarborTown_Mart_EventScript_1FFD06",
"script": "FallarborTown_Mart_EventScript_Skitty",
"flag": "0"
},
{

View File

@@ -1,18 +1,18 @@
FallarborTown_Mart_MapScripts:: @ 81FFCBE
.byte 0
FallarborTown_Mart_EventScript_1FFCBF:: @ 81FFCBF
FallarborTown_Mart_EventScript_Clerk:: @ 81FFCBF
lock
faceplayer
message gText_HowMayIServeYou
waitmessage
pokemart FallarborTown_Mart_Pokemart_1FFCD8
pokemart FallarborTown_Mart_Pokemart
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
.align 2
FallarborTown_Mart_Pokemart_1FFCD8: @ 81FFCD8
FallarborTown_Mart_Pokemart: @ 81FFCD8
.2byte ITEM_GREAT_BALL
.2byte ITEM_SUPER_POTION
.2byte ITEM_ANTIDOTE
@@ -29,25 +29,25 @@ FallarborTown_Mart_Pokemart_1FFCD8: @ 81FFCD8
release
end
FallarborTown_Mart_EventScript_1FFCF4:: @ 81FFCF4
msgbox FallarborTown_Mart_Text_1FFD19, MSGBOX_NPC
FallarborTown_Mart_EventScript_Woman:: @ 81FFCF4
msgbox FallarborTown_Mart_Text_DecidingSkittyEvolve, MSGBOX_NPC
end
FallarborTown_Mart_EventScript_1FFCFD:: @ 81FFCFD
msgbox FallarborTown_Mart_Text_1FFE09, MSGBOX_NPC
FallarborTown_Mart_EventScript_PokefanM:: @ 81FFCFD
msgbox FallarborTown_Mart_Text_SellNuggetIFound, MSGBOX_NPC
end
FallarborTown_Mart_EventScript_1FFD06:: @ 81FFD06
FallarborTown_Mart_EventScript_Skitty:: @ 81FFD06
lock
faceplayer
waitse
playmoncry SPECIES_SKITTY, 0
msgbox FallarborTown_Mart_Text_1FFDFA, MSGBOX_DEFAULT
msgbox FallarborTown_Mart_Text_Skitty, MSGBOX_DEFAULT
waitmoncry
release
end
FallarborTown_Mart_Text_1FFD19: @ 81FFD19
FallarborTown_Mart_Text_DecidingSkittyEvolve: @ 81FFD19
.string "I'm having a hard time deciding if I\n"
.string "should make my SKITTY evolve or not.\p"
.string "I only have to use this MOON STONE,\n"
@@ -56,10 +56,10 @@ FallarborTown_Mart_Text_1FFD19: @ 81FFD19
.string "much stronger.\p"
.string "But it will look so different, too.$"
FallarborTown_Mart_Text_1FFDFA: @ 81FFDFA
FallarborTown_Mart_Text_Skitty: @ 81FFDFA
.string "SKITTY: Miyao?$"
FallarborTown_Mart_Text_1FFE09: @ 81FFE09
FallarborTown_Mart_Text_SellNuggetIFound: @ 81FFE09
.string "This NUGGET I found here…\n"
.string "I suppose I'll have to sell it, seeing\l"
.string "as how it has no other use.$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FallarborTown_PokemonCenter_1F_EventScript_200BE1",
"script": "FallarborTown_PokemonCenter_1F_EventScript_Nurse",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FallarborTown_PokemonCenter_1F_EventScript_200BEF",
"script": "FallarborTown_PokemonCenter_1F_EventScript_Girl",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FallarborTown_PokemonCenter_1F_EventScript_200BF8",
"script": "FallarborTown_PokemonCenter_1F_EventScript_ExpertM",
"flag": "0"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FallarborTown_PokemonCenter_1F_EventScript_200C01",
"script": "FallarborTown_PokemonCenter_1F_EventScript_Lanette",
"flag": "FLAG_HIDE_FALLORBOR_POKEMON_CENTER_LANETTE"
}
],

View File

@@ -8,7 +8,8 @@ FallarborTown_PokemonCenter_1F_OnTransition: @ 8200BD8
call Common_EventScript_UpdateBrineyLocation
end
FallarborTown_PokemonCenter_1F_EventScript_200BE1:: @ 8200BE1
@ VAR_0x800B is the Nurse's object event id
FallarborTown_PokemonCenter_1F_EventScript_Nurse:: @ 8200BE1
setvar VAR_0x800B, 1
call Common_EventScript_PkmnCenterNurse
waitmessage
@@ -16,44 +17,44 @@ FallarborTown_PokemonCenter_1F_EventScript_200BE1:: @ 8200BE1
release
end
FallarborTown_PokemonCenter_1F_EventScript_200BEF:: @ 8200BEF
msgbox FallarborTown_PokemonCenter_1F_Text_200E22, MSGBOX_NPC
FallarborTown_PokemonCenter_1F_EventScript_Girl:: @ 8200BEF
msgbox FallarborTown_PokemonCenter_1F_Text_FossilManiacEdgeOfTown, MSGBOX_NPC
end
FallarborTown_PokemonCenter_1F_EventScript_200BF8:: @ 8200BF8
msgbox FallarborTown_PokemonCenter_1F_Text_200E8B, MSGBOX_NPC
FallarborTown_PokemonCenter_1F_EventScript_ExpertM:: @ 8200BF8
msgbox FallarborTown_PokemonCenter_1F_Text_PlantHardyTrees, MSGBOX_NPC
end
FallarborTown_PokemonCenter_1F_EventScript_200C01:: @ 8200C01
FallarborTown_PokemonCenter_1F_EventScript_Lanette:: @ 8200C01
lock
faceplayer
msgbox FallarborTown_PokemonCenter_1F_Text_200C6B, MSGBOX_DEFAULT
msgbox FallarborTown_PokemonCenter_1F_Text_LanetteGreeting, MSGBOX_DEFAULT
closemessage
switch VAR_FACING
case DIR_NORTH, FallarborTown_PokemonCenter_1F_EventScript_200C28
case DIR_WEST, FallarborTown_PokemonCenter_1F_EventScript_200C38
case DIR_NORTH, FallarborTown_PokemonCenter_1F_EventScript_LanetteExitNorth
case DIR_WEST, FallarborTown_PokemonCenter_1F_EventScript_LanetteExitWest
end
FallarborTown_PokemonCenter_1F_EventScript_200C28:: @ 8200C28
applymovement 4, FallarborTown_PokemonCenter_1F_Movement_200C53
FallarborTown_PokemonCenter_1F_EventScript_LanetteExitNorth:: @ 8200C28
applymovement 4, FallarborTown_PokemonCenter_1F_Movement_LanetteExitNorth
waitmovement 0
goto FallarborTown_PokemonCenter_1F_EventScript_200C48
goto FallarborTown_PokemonCenter_1F_EventScript_LanetteExited
end
FallarborTown_PokemonCenter_1F_EventScript_200C38:: @ 8200C38
applymovement 4, FallarborTown_PokemonCenter_1F_Movement_200C60
FallarborTown_PokemonCenter_1F_EventScript_LanetteExitWest:: @ 8200C38
applymovement 4, FallarborTown_PokemonCenter_1F_Movement_LanetteExitWest
waitmovement 0
goto FallarborTown_PokemonCenter_1F_EventScript_200C48
goto FallarborTown_PokemonCenter_1F_EventScript_LanetteExited
end
FallarborTown_PokemonCenter_1F_EventScript_200C48:: @ 8200C48
FallarborTown_PokemonCenter_1F_EventScript_LanetteExited:: @ 8200C48
playse SE_JIDO_DOA
removeobject 4
clearflag FLAG_HIDE_LANETTES_HOUSE_LANETTE
release
end
FallarborTown_PokemonCenter_1F_Movement_200C53: @ 8200C53
FallarborTown_PokemonCenter_1F_Movement_LanetteExitNorth: @ 8200C53
walk_right
walk_down
walk_down
@@ -68,7 +69,7 @@ FallarborTown_PokemonCenter_1F_Movement_200C53: @ 8200C53
delay_8
step_end
FallarborTown_PokemonCenter_1F_Movement_200C60: @ 8200C60
FallarborTown_PokemonCenter_1F_Movement_LanetteExitWest: @ 8200C60
walk_down
walk_down
walk_left
@@ -81,7 +82,7 @@ FallarborTown_PokemonCenter_1F_Movement_200C60: @ 8200C60
delay_8
step_end
FallarborTown_PokemonCenter_1F_Text_200C6B: @ 8200C6B
FallarborTown_PokemonCenter_1F_Text_LanetteGreeting: @ 8200C6B
.string "Oh, hello.\n"
.string "You are?\p"
.string "Okay, your name's {PLAYER}{KUN}.\n"
@@ -98,13 +99,13 @@ FallarborTown_PokemonCenter_1F_Text_200C6B: @ 8200C6B
.string "If you could, please visit me at home.\n"
.string "My house is on ROUTE 114.$"
FallarborTown_PokemonCenter_1F_Text_200E22: @ 8200E22
FallarborTown_PokemonCenter_1F_Text_FossilManiacEdgeOfTown: @ 8200E22
.string "I wonder what POKéMON looked like\n"
.string "long, long ago?\p"
.string "Maybe the FOSSIL MANIAC at the edge\n"
.string "of town will know.$"
FallarborTown_PokemonCenter_1F_Text_200E8B: @ 8200E8B
FallarborTown_PokemonCenter_1F_Text_PlantHardyTrees: @ 8200E8B
.string "In the fields of FALLARBOR, we plant\n"
.string "seedlings of hardy trees that thrive\l"
.string "even in volcanic ash.$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_Mart_EventScript_217666",
"script": "FortreeCity_Mart_EventScript_Clerk",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_Mart_EventScript_217698",
"script": "FortreeCity_Mart_EventScript_Woman",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_Mart_EventScript_2176A1",
"script": "FortreeCity_Mart_EventScript_Girl",
"flag": "0"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_Mart_EventScript_2176AA",
"script": "FortreeCity_Mart_EventScript_Boy",
"flag": "0"
}
],

View File

@@ -1,18 +1,18 @@
FortreeCity_Mart_MapScripts:: @ 8217665
.byte 0
FortreeCity_Mart_EventScript_217666:: @ 8217666
FortreeCity_Mart_EventScript_Clerk:: @ 8217666
lock
faceplayer
message gText_HowMayIServeYou
waitmessage
pokemart FortreeCity_Mart_Pokemart_217680
pokemart FortreeCity_Mart_Pokemart
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
.align 2
FortreeCity_Mart_Pokemart_217680: @ 8217680
FortreeCity_Mart_Pokemart: @ 8217680
.2byte ITEM_GREAT_BALL
.2byte ITEM_ULTRA_BALL
.2byte ITEM_SUPER_POTION
@@ -27,31 +27,31 @@ FortreeCity_Mart_Pokemart_217680: @ 8217680
release
end
FortreeCity_Mart_EventScript_217698:: @ 8217698
msgbox FortreeCity_Mart_Text_2176B3, MSGBOX_NPC
FortreeCity_Mart_EventScript_Woman:: @ 8217698
msgbox FortreeCity_Mart_Text_SuperRepelBetter, MSGBOX_NPC
end
FortreeCity_Mart_EventScript_2176A1:: @ 82176A1
msgbox FortreeCity_Mart_Text_217715, MSGBOX_NPC
FortreeCity_Mart_EventScript_Girl:: @ 82176A1
msgbox FortreeCity_Mart_Text_StockUpOnItems, MSGBOX_NPC
end
FortreeCity_Mart_EventScript_2176AA:: @ 82176AA
msgbox FortreeCity_Mart_Text_21778E, MSGBOX_NPC
FortreeCity_Mart_EventScript_Boy:: @ 82176AA
msgbox FortreeCity_Mart_Text_RareCandyMakesMonGrow, MSGBOX_NPC
end
FortreeCity_Mart_Text_2176B3: @ 82176B3
FortreeCity_Mart_Text_SuperRepelBetter: @ 82176B3
.string "SUPER REPEL lasts a long time,\n"
.string "and it gets the job done.\p"
.string "It's much better than an ordinary\n"
.string "REPEL.$"
FortreeCity_Mart_Text_217715: @ 8217715
FortreeCity_Mart_Text_StockUpOnItems: @ 8217715
.string "I always stock up on more items than\n"
.string "I'm sure I'll need.\p"
.string "You never know what might happen.\n"
.string "Better to be safe than sorry!$"
FortreeCity_Mart_Text_21778E: @ 821778E
FortreeCity_Mart_Text_RareCandyMakesMonGrow: @ 821778E
.string "A RARE CANDY makes a POKéMON grow\n"
.string "immediately by one level.$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_PokemonCenter_1F_EventScript_2173E7",
"script": "FortreeCity_PokemonCenter_1F_EventScript_Nurse",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_PokemonCenter_1F_EventScript_2173F5",
"script": "FortreeCity_PokemonCenter_1F_EventScript_Gentleman",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_PokemonCenter_1F_EventScript_2173FE",
"script": "FortreeCity_PokemonCenter_1F_EventScript_Man",
"flag": "0"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "FortreeCity_PokemonCenter_1F_EventScript_217407",
"script": "FortreeCity_PokemonCenter_1F_EventScript_Boy",
"flag": "0"
}
],

View File

@@ -7,7 +7,8 @@ FortreeCity_PokemonCenter_1F_OnTransition: @ 82173E3
setrespawn HEAL_LOCATION_FORTREE_CITY
end
FortreeCity_PokemonCenter_1F_EventScript_2173E7:: @ 82173E7
@ VAR_0x800B is the Nurse's object event id
FortreeCity_PokemonCenter_1F_EventScript_Nurse:: @ 82173E7
setvar VAR_0x800B, 1
call Common_EventScript_PkmnCenterNurse
waitmessage
@@ -15,25 +16,25 @@ FortreeCity_PokemonCenter_1F_EventScript_2173E7:: @ 82173E7
release
end
FortreeCity_PokemonCenter_1F_EventScript_2173F5:: @ 82173F5
msgbox FortreeCity_PokemonCenter_1F_Text_217410, MSGBOX_NPC
FortreeCity_PokemonCenter_1F_EventScript_Gentleman:: @ 82173F5
msgbox FortreeCity_PokemonCenter_1F_Text_GoToSafariZone, MSGBOX_NPC
end
FortreeCity_PokemonCenter_1F_EventScript_2173FE:: @ 82173FE
msgbox FortreeCity_PokemonCenter_1F_Text_21746D, MSGBOX_NPC
FortreeCity_PokemonCenter_1F_EventScript_Man:: @ 82173FE
msgbox FortreeCity_PokemonCenter_1F_Text_RecordCornerIsNeat, MSGBOX_NPC
end
FortreeCity_PokemonCenter_1F_EventScript_217407:: @ 8217407
msgbox FortreeCity_PokemonCenter_1F_Text_21751F, MSGBOX_NPC
FortreeCity_PokemonCenter_1F_EventScript_Boy:: @ 8217407
msgbox FortreeCity_PokemonCenter_1F_Text_DoYouKnowAboutPokenav, MSGBOX_NPC
end
FortreeCity_PokemonCenter_1F_Text_217410: @ 8217410
FortreeCity_PokemonCenter_1F_Text_GoToSafariZone: @ 8217410
.string "Listen, kid, are you working\n"
.string "on a POKéDEX?\p"
.string "Hmm… Go to the SAFARI ZONE.\n"
.string "That's my suggestion.$"
FortreeCity_PokemonCenter_1F_Text_21746D: @ 821746D
FortreeCity_PokemonCenter_1F_Text_RecordCornerIsNeat: @ 821746D
.string "Have you done anything at\n"
.string "the RECORD CORNER?\p"
.string "It's pretty neat. It mixes and matches\n"
@@ -41,7 +42,7 @@ FortreeCity_PokemonCenter_1F_Text_21746D: @ 821746D
.string "I don't know quite how it works,\n"
.string "but it's cool. It's exciting, even!$"
FortreeCity_PokemonCenter_1F_Text_21751F: @ 821751F
FortreeCity_PokemonCenter_1F_Text_DoYouKnowAboutPokenav: @ 821751F
.string "Oh, wow, you have a POKéNAV!\n"
.string "And it's just like mine!\p"
.string "Do you know about POKéNAV's\n"

View File

@@ -77,9 +77,9 @@ JaggedPass_EventScript_MagmaHideoutGuard:: @ 8230718
waitmovement 0
applymovement 5, Common_Movement_FacePlayer
waitmovement 0
msgbox JaggedPass_Text_Grunt30Intro, MSGBOX_DEFAULT
msgbox JaggedPass_Text_GruntIntro, MSGBOX_DEFAULT
closemessage
trainerbattle_no_intro TRAINER_GRUNT_30, JaggedPass_Text_Grunt30Defeat
trainerbattle_no_intro TRAINER_GRUNT_JAGGED_PASS, JaggedPass_Text_GruntDefeat
setflag FLAG_BEAT_MAGMA_GRUNT_JAGGED_PASS
applymovement 5, Common_Movement_FaceOriginalDirection
waitmovement 0
@@ -226,13 +226,13 @@ JaggedPass_Text_EthanPostRematch: @ 8230C94
.string "I should get an ACRO BIKE from RYDEL\n"
.string "in MAUVILLE CITY…$"
JaggedPass_Text_Grunt30Intro: @ 8230CCB
JaggedPass_Text_GruntIntro: @ 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_Grunt30Defeat: @ 8230D2D
JaggedPass_Text_GruntDefeat: @ 8230D2D
.string "Urrrgh…\p"
.string "I should've ducked into our HIDEOUT\n"
.string "right away…$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_Mart_EventScript_1FF9CE",
"script": "LavaridgeTown_Mart_EventScript_Clerk",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_Mart_EventScript_1FF9FE",
"script": "LavaridgeTown_Mart_EventScript_ExpertM",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_Mart_EventScript_1FFA07",
"script": "LavaridgeTown_Mart_EventScript_OldWoman",
"flag": "0"
}
],

View File

@@ -1,18 +1,18 @@
LavaridgeTown_Mart_MapScripts:: @ 81FF9CD
.byte 0
LavaridgeTown_Mart_EventScript_1FF9CE:: @ 81FF9CE
LavaridgeTown_Mart_EventScript_Clerk:: @ 81FF9CE
lock
faceplayer
message gText_HowMayIServeYou
waitmessage
pokemart LavaridgeTown_Mart_Pokemart_1FF9E8
pokemart LavaridgeTown_Mart_Pokemart
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
.align 2
LavaridgeTown_Mart_Pokemart_1FF9E8: @ 81FF9E8
LavaridgeTown_Mart_Pokemart: @ 81FF9E8
.2byte ITEM_GREAT_BALL
.2byte ITEM_SUPER_POTION
.2byte ITEM_ANTIDOTE
@@ -26,21 +26,21 @@ LavaridgeTown_Mart_Pokemart_1FF9E8: @ 81FF9E8
release
end
LavaridgeTown_Mart_EventScript_1FF9FE:: @ 81FF9FE
msgbox LavaridgeTown_Mart_Text_1FFA10, MSGBOX_NPC
LavaridgeTown_Mart_EventScript_ExpertM:: @ 81FF9FE
msgbox LavaridgeTown_Mart_Text_XSpeedFirstStrike, MSGBOX_NPC
end
LavaridgeTown_Mart_EventScript_1FFA07:: @ 81FFA07
msgbox LavaridgeTown_Mart_Text_1FFA83, MSGBOX_NPC
LavaridgeTown_Mart_EventScript_OldWoman:: @ 81FFA07
msgbox LavaridgeTown_Mart_Text_LocalSpecialtyOnMtChimney, MSGBOX_NPC
end
LavaridgeTown_Mart_Text_1FFA10: @ 81FFA10
LavaridgeTown_Mart_Text_XSpeedFirstStrike: @ 81FFA10
.string "Use X SPEED to add to a POKéMON's\n"
.string "SPEED in battle.\p"
.string "That will help it get in the first\n"
.string "strike--a decided advantage!$"
LavaridgeTown_Mart_Text_1FFA83: @ 81FFA83
LavaridgeTown_Mart_Text_LocalSpecialtyOnMtChimney: @ 81FFA83
.string "On MT. CHIMNEY's peak, there's a local\n"
.string "specialty that you can buy only there.\p"
.string "Give it to a POKéMON--it will be elated.$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_PokemonCenter_1F_EventScript_1FFB0E",
"script": "LavaridgeTown_PokemonCenter_1F_EventScript_Nurse",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_PokemonCenter_1F_EventScript_1FFB1C",
"script": "LavaridgeTown_PokemonCenter_1F_EventScript_Youngster",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_PokemonCenter_1F_EventScript_1FFB25",
"script": "LavaridgeTown_PokemonCenter_1F_EventScript_Woman",
"flag": "0"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LavaridgeTown_PokemonCenter_1F_EventScript_1FFB2E",
"script": "LavaridgeTown_PokemonCenter_1F_EventScript_Gentleman",
"flag": "0"
}
],

View File

@@ -8,7 +8,8 @@ LavaridgeTown_PokemonCenter_1F_OnTransition: @ 81FFB05
call Common_EventScript_UpdateBrineyLocation
end
LavaridgeTown_PokemonCenter_1F_EventScript_1FFB0E:: @ 81FFB0E
@ VAR_0x800B is the Nurse's object event id
LavaridgeTown_PokemonCenter_1F_EventScript_Nurse:: @ 81FFB0E
setvar VAR_0x800B, 1
call Common_EventScript_PkmnCenterNurse
waitmessage
@@ -16,31 +17,31 @@ LavaridgeTown_PokemonCenter_1F_EventScript_1FFB0E:: @ 81FFB0E
release
end
LavaridgeTown_PokemonCenter_1F_EventScript_1FFB1C:: @ 81FFB1C
msgbox LavaridgeTown_PokemonCenter_1F_Text_1FFBAD, MSGBOX_NPC
LavaridgeTown_PokemonCenter_1F_EventScript_Youngster:: @ 81FFB1C
msgbox LavaridgeTown_PokemonCenter_1F_Text_HotSpringCanInvigorate, MSGBOX_NPC
end
LavaridgeTown_PokemonCenter_1F_EventScript_1FFB25:: @ 81FFB25
msgbox LavaridgeTown_PokemonCenter_1F_Text_1FFB37, MSGBOX_NPC
LavaridgeTown_PokemonCenter_1F_EventScript_Woman:: @ 81FFB25
msgbox LavaridgeTown_PokemonCenter_1F_Text_TrainersPokemonSpendTimeTogether, MSGBOX_NPC
end
LavaridgeTown_PokemonCenter_1F_EventScript_1FFB2E:: @ 81FFB2E
msgbox LavaridgeTown_PokemonCenter_1F_Text_1FFC21, MSGBOX_NPC
LavaridgeTown_PokemonCenter_1F_EventScript_Gentleman:: @ 81FFB2E
msgbox LavaridgeTown_PokemonCenter_1F_Text_TrainersShouldRestToo, MSGBOX_NPC
end
LavaridgeTown_PokemonCenter_1F_Text_1FFB37: @ 81FFB37
LavaridgeTown_PokemonCenter_1F_Text_TrainersPokemonSpendTimeTogether: @ 81FFB37
.string "I think POKéMON get closer to their\n"
.string "TRAINERS if they spend time together.\p"
.string "The longer the better.\n"
.string "That's what I think.$"
LavaridgeTown_PokemonCenter_1F_Text_1FFBAD: @ 81FFBAD
LavaridgeTown_PokemonCenter_1F_Text_HotSpringCanInvigorate: @ 81FFBAD
.string "It's sort of magical how just sitting\n"
.string "in a hot-spring pool can invigorate.\p"
.string "I wish I could let my POKéMON\n"
.string "soak, too.$"
LavaridgeTown_PokemonCenter_1F_Text_1FFC21: @ 81FFC21
LavaridgeTown_PokemonCenter_1F_Text_TrainersShouldRestToo: @ 81FFC21
.string "Hohoho! Hey, kid, you can reach\n"
.string "the hot springs from here.\p"
.string "If POKéMON are getting rest, so too\n"

View File

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

View File

@@ -1,11 +1,11 @@
LilycoveCity_DepartmentStoreElevator_MapScripts:: @ 8220623
.byte 0
LilycoveCity_DepartmentStoreElevator_EventScript_220624:: @ 8220624
LilycoveCity_DepartmentStoreElevator_EventScript_Attendant:: @ 8220624
lock
faceplayer
setvar VAR_0x8004, 0
call_if_unset FLAG_TEMP_2, LilycoveCity_DepartmentStoreElevator_EventScript_2207FC
call_if_unset FLAG_TEMP_2, LilycoveCity_DepartmentStoreElevator_EventScript_SetFloor
copyvar VAR_0x8005, VAR_DEPT_STORE_FLOOR
special ShowDeptStoreElevatorFloorSelect
message gText_WhichFloorWouldYouLike
@@ -13,105 +13,106 @@ LilycoveCity_DepartmentStoreElevator_EventScript_220624:: @ 8220624
setvar VAR_0x8004, 0
specialvar VAR_RESULT, GetDeptStoreDefaultFloorChoice
switch VAR_RESULT
case 0, LilycoveCity_DepartmentStoreElevator_EventScript_220689
case 1, LilycoveCity_DepartmentStoreElevator_EventScript_220695
case 2, LilycoveCity_DepartmentStoreElevator_EventScript_2206A1
case 3, LilycoveCity_DepartmentStoreElevator_EventScript_2206AD
case 4, LilycoveCity_DepartmentStoreElevator_EventScript_2206B9
case 0, LilycoveCity_DepartmentStoreElevator_EventScript_ChooseFloorFrom5th
case 1, LilycoveCity_DepartmentStoreElevator_EventScript_ChooseFloorFrom4th
case 2, LilycoveCity_DepartmentStoreElevator_EventScript_ChooseFloorFrom3rd
case 3, LilycoveCity_DepartmentStoreElevator_EventScript_ChooseFloorFrom2nd
case 4, LilycoveCity_DepartmentStoreElevator_EventScript_ChooseFloorFrom1st
end
LilycoveCity_DepartmentStoreElevator_EventScript_220689:: @ 8220689
@ Below scripts ensure the cursor for floor select always starts on the current floor
LilycoveCity_DepartmentStoreElevator_EventScript_ChooseFloorFrom5th:: @ 8220689
multichoicedefault 0, 0, MULTI_FLOORS, 0, 0
goto LilycoveCity_DepartmentStoreElevator_EventScript_2206C5
goto LilycoveCity_DepartmentStoreElevator_EventScript_ChooseFloor
end
LilycoveCity_DepartmentStoreElevator_EventScript_220695:: @ 8220695
LilycoveCity_DepartmentStoreElevator_EventScript_ChooseFloorFrom4th:: @ 8220695
multichoicedefault 0, 0, MULTI_FLOORS, 1, 0
goto LilycoveCity_DepartmentStoreElevator_EventScript_2206C5
goto LilycoveCity_DepartmentStoreElevator_EventScript_ChooseFloor
end
LilycoveCity_DepartmentStoreElevator_EventScript_2206A1:: @ 82206A1
LilycoveCity_DepartmentStoreElevator_EventScript_ChooseFloorFrom3rd:: @ 82206A1
multichoicedefault 0, 0, MULTI_FLOORS, 2, 0
goto LilycoveCity_DepartmentStoreElevator_EventScript_2206C5
goto LilycoveCity_DepartmentStoreElevator_EventScript_ChooseFloor
end
LilycoveCity_DepartmentStoreElevator_EventScript_2206AD:: @ 82206AD
LilycoveCity_DepartmentStoreElevator_EventScript_ChooseFloorFrom2nd:: @ 82206AD
multichoicedefault 0, 0, MULTI_FLOORS, 3, 0
goto LilycoveCity_DepartmentStoreElevator_EventScript_2206C5
goto LilycoveCity_DepartmentStoreElevator_EventScript_ChooseFloor
end
LilycoveCity_DepartmentStoreElevator_EventScript_2206B9:: @ 82206B9
LilycoveCity_DepartmentStoreElevator_EventScript_ChooseFloorFrom1st:: @ 82206B9
multichoicedefault 0, 0, MULTI_FLOORS, 4, 0
goto LilycoveCity_DepartmentStoreElevator_EventScript_2206C5
goto LilycoveCity_DepartmentStoreElevator_EventScript_ChooseFloor
end
LilycoveCity_DepartmentStoreElevator_EventScript_2206C5:: @ 82206C5
LilycoveCity_DepartmentStoreElevator_EventScript_ChooseFloor:: @ 82206C5
switch VAR_RESULT
case 0, LilycoveCity_DepartmentStoreElevator_EventScript_2207B8
case 1, LilycoveCity_DepartmentStoreElevator_EventScript_220790
case 2, LilycoveCity_DepartmentStoreElevator_EventScript_220768
case 3, LilycoveCity_DepartmentStoreElevator_EventScript_220740
case 4, LilycoveCity_DepartmentStoreElevator_EventScript_220718
case 5, LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
case MULTI_B_PRESSED, LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
case 0, LilycoveCity_DepartmentStoreElevator_EventScript_5thFloor
case 1, LilycoveCity_DepartmentStoreElevator_EventScript_4thFloor
case 2, LilycoveCity_DepartmentStoreElevator_EventScript_3rdFloor
case 3, LilycoveCity_DepartmentStoreElevator_EventScript_2ndFloor
case 4, LilycoveCity_DepartmentStoreElevator_EventScript_1stFloor
case 5, LilycoveCity_DepartmentStoreElevator_EventScript_ExitFloorSelect
case MULTI_B_PRESSED, LilycoveCity_DepartmentStoreElevator_EventScript_ExitFloorSelect
end
LilycoveCity_DepartmentStoreElevator_EventScript_220718:: @ 8220718
LilycoveCity_DepartmentStoreElevator_EventScript_1stFloor:: @ 8220718
setvar VAR_0x8006, DEPT_STORE_FLOORNUM_1F
setdynamicwarp MAP_LILYCOVE_CITY_DEPARTMENT_STORE_1F, 255, 2, 1
compare VAR_DEPT_STORE_FLOOR, DEPT_STORE_FLOORNUM_1F
goto_if_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
call LilycoveCity_DepartmentStoreElevator_EventScript_2207E5
goto_if_eq LilycoveCity_DepartmentStoreElevator_EventScript_ExitFloorSelect
call LilycoveCity_DepartmentStoreElevator_EventScript_MoveElevator
setvar VAR_DEPT_STORE_FLOOR, DEPT_STORE_FLOORNUM_1F
goto LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
goto LilycoveCity_DepartmentStoreElevator_EventScript_ExitFloorSelect
end
LilycoveCity_DepartmentStoreElevator_EventScript_220740:: @ 8220740
LilycoveCity_DepartmentStoreElevator_EventScript_2ndFloor:: @ 8220740
setvar VAR_0x8006, DEPT_STORE_FLOORNUM_2F
setdynamicwarp MAP_LILYCOVE_CITY_DEPARTMENT_STORE_2F, 255, 2, 1
compare VAR_DEPT_STORE_FLOOR, DEPT_STORE_FLOORNUM_2F
goto_if_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
call LilycoveCity_DepartmentStoreElevator_EventScript_2207E5
goto_if_eq LilycoveCity_DepartmentStoreElevator_EventScript_ExitFloorSelect
call LilycoveCity_DepartmentStoreElevator_EventScript_MoveElevator
setvar VAR_DEPT_STORE_FLOOR, DEPT_STORE_FLOORNUM_2F
goto LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
goto LilycoveCity_DepartmentStoreElevator_EventScript_ExitFloorSelect
end
LilycoveCity_DepartmentStoreElevator_EventScript_220768:: @ 8220768
LilycoveCity_DepartmentStoreElevator_EventScript_3rdFloor:: @ 8220768
setvar VAR_0x8006, DEPT_STORE_FLOORNUM_3F
setdynamicwarp MAP_LILYCOVE_CITY_DEPARTMENT_STORE_3F, 255, 2, 1
compare VAR_DEPT_STORE_FLOOR, DEPT_STORE_FLOORNUM_3F
goto_if_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
call LilycoveCity_DepartmentStoreElevator_EventScript_2207E5
goto_if_eq LilycoveCity_DepartmentStoreElevator_EventScript_ExitFloorSelect
call LilycoveCity_DepartmentStoreElevator_EventScript_MoveElevator
setvar VAR_DEPT_STORE_FLOOR, DEPT_STORE_FLOORNUM_3F
goto LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
goto LilycoveCity_DepartmentStoreElevator_EventScript_ExitFloorSelect
end
LilycoveCity_DepartmentStoreElevator_EventScript_220790:: @ 8220790
LilycoveCity_DepartmentStoreElevator_EventScript_4thFloor:: @ 8220790
setvar VAR_0x8006, DEPT_STORE_FLOORNUM_4F
setdynamicwarp MAP_LILYCOVE_CITY_DEPARTMENT_STORE_4F, 255, 2, 1
compare VAR_DEPT_STORE_FLOOR, DEPT_STORE_FLOORNUM_4F
goto_if_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
call LilycoveCity_DepartmentStoreElevator_EventScript_2207E5
goto_if_eq LilycoveCity_DepartmentStoreElevator_EventScript_ExitFloorSelect
call LilycoveCity_DepartmentStoreElevator_EventScript_MoveElevator
setvar VAR_DEPT_STORE_FLOOR, DEPT_STORE_FLOORNUM_4F
goto LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
goto LilycoveCity_DepartmentStoreElevator_EventScript_ExitFloorSelect
end
LilycoveCity_DepartmentStoreElevator_EventScript_2207B8:: @ 82207B8
LilycoveCity_DepartmentStoreElevator_EventScript_5thFloor:: @ 82207B8
setvar VAR_0x8006, DEPT_STORE_FLOORNUM_5F
setdynamicwarp MAP_LILYCOVE_CITY_DEPARTMENT_STORE_5F, 255, 2, 1
compare VAR_DEPT_STORE_FLOOR, DEPT_STORE_FLOORNUM_5F
goto_if_eq LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
call LilycoveCity_DepartmentStoreElevator_EventScript_2207E5
goto_if_eq LilycoveCity_DepartmentStoreElevator_EventScript_ExitFloorSelect
call LilycoveCity_DepartmentStoreElevator_EventScript_MoveElevator
setvar VAR_DEPT_STORE_FLOOR, DEPT_STORE_FLOORNUM_5F
goto LilycoveCity_DepartmentStoreElevator_EventScript_2207E0
goto LilycoveCity_DepartmentStoreElevator_EventScript_ExitFloorSelect
end
LilycoveCity_DepartmentStoreElevator_EventScript_2207E0:: @ 82207E0
LilycoveCity_DepartmentStoreElevator_EventScript_ExitFloorSelect:: @ 82207E0
special CloseDeptStoreElevatorWindow
release
end
LilycoveCity_DepartmentStoreElevator_EventScript_2207E5:: @ 82207E5
LilycoveCity_DepartmentStoreElevator_EventScript_MoveElevator:: @ 82207E5
special CloseDeptStoreElevatorWindow
closemessage
applymovement VAR_LAST_TALKED, Common_Movement_WalkInPlaceFastestDown
@@ -122,7 +123,7 @@ LilycoveCity_DepartmentStoreElevator_EventScript_2207E5:: @ 82207E5
setflag FLAG_TEMP_2
return
LilycoveCity_DepartmentStoreElevator_EventScript_2207FC:: @ 82207FC
LilycoveCity_DepartmentStoreElevator_EventScript_SetFloor:: @ 82207FC
special SetDeptStoreFloor
return

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStoreRooftop_EventScript_220268",
"script": "LilycoveCity_DepartmentStoreRooftop_EventScript_Man",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStoreRooftop_EventScript_22028C",
"script": "LilycoveCity_DepartmentStoreRooftop_EventScript_ThirstyMan",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStoreRooftop_EventScript_22022F",
"script": "LilycoveCity_DepartmentStoreRooftop_EventScript_SaleWoman",
"flag": "FLAG_HIDE_LILYCOVE_DEPARTMENT_STORE_ROOFTOP_SALE_WOMAN"
},
{
@@ -84,7 +84,7 @@
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LilycoveCity_DepartmentStoreRooftop_EventScript_220295"
"script": "LilycoveCity_DepartmentStoreRooftop_EventScript_VendingMachine"
},
{
"type": "sign",
@@ -92,7 +92,7 @@
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LilycoveCity_DepartmentStoreRooftop_EventScript_220295"
"script": "LilycoveCity_DepartmentStoreRooftop_EventScript_VendingMachine"
}
]
}

View File

@@ -4,32 +4,32 @@ LilycoveCity_DepartmentStoreRooftop_MapScripts:: @ 8220207
LilycoveCity_DepartmentStoreRooftop_OnTransition: @ 822020D
getpricereduction POKENEWS_LILYCOVE
compare VAR_RESULT, 1
call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220227
compare VAR_RESULT, 0
call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_22022B
compare VAR_RESULT, TRUE
call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_ShowSaleWoman
compare VAR_RESULT, FALSE
call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_HideSaleWoman
end
LilycoveCity_DepartmentStoreRooftop_EventScript_220227:: @ 8220227
LilycoveCity_DepartmentStoreRooftop_EventScript_ShowSaleWoman:: @ 8220227
clearflag FLAG_HIDE_LILYCOVE_DEPARTMENT_STORE_ROOFTOP_SALE_WOMAN
return
LilycoveCity_DepartmentStoreRooftop_EventScript_22022B:: @ 822022B
LilycoveCity_DepartmentStoreRooftop_EventScript_HideSaleWoman:: @ 822022B
setflag FLAG_HIDE_LILYCOVE_DEPARTMENT_STORE_ROOFTOP_SALE_WOMAN
return
LilycoveCity_DepartmentStoreRooftop_EventScript_22022F:: @ 822022F
LilycoveCity_DepartmentStoreRooftop_EventScript_SaleWoman:: @ 822022F
lock
faceplayer
message gText_HowMayIServeYou
waitmessage
pokemartdecoration LilycoveCity_DepartmentStoreRooftop_PokemartDecor_220248
pokemartdecoration LilycoveCity_DepartmentStoreRooftop_PokemartDecor_ClearOutSale
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
.align 2
LilycoveCity_DepartmentStoreRooftop_PokemartDecor_220248: @ 8220248
LilycoveCity_DepartmentStoreRooftop_PokemartDecor_ClearOutSale: @ 8220248
.2byte DECOR_MUD_BALL
.2byte DECOR_FENCE_LENGTH
.2byte DECOR_FENCE_WIDTH
@@ -48,189 +48,189 @@ LilycoveCity_DepartmentStoreRooftop_PokemartDecor_220248: @ 8220248
release
end
LilycoveCity_DepartmentStoreRooftop_EventScript_220268:: @ 8220268
LilycoveCity_DepartmentStoreRooftop_EventScript_Man:: @ 8220268
lock
faceplayer
getpricereduction POKENEWS_LILYCOVE
compare VAR_RESULT, 1
call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220282
msgbox LilycoveCity_DepartmentStoreRooftop_Text_220463, MSGBOX_DEFAULT
compare VAR_RESULT, TRUE
call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_ManClearOutSale
msgbox LilycoveCity_DepartmentStoreRooftop_Text_SetDatesForClearOutSales, MSGBOX_DEFAULT
release
end
LilycoveCity_DepartmentStoreRooftop_EventScript_220282:: @ 8220282
msgbox LilycoveCity_DepartmentStoreRooftop_Text_2204C9, MSGBOX_DEFAULT
LilycoveCity_DepartmentStoreRooftop_EventScript_ManClearOutSale:: @ 8220282
msgbox LilycoveCity_DepartmentStoreRooftop_Text_BeenWaitingForClearOutSale, MSGBOX_DEFAULT
release
end
LilycoveCity_DepartmentStoreRooftop_EventScript_22028C:: @ 822028C
msgbox LilycoveCity_DepartmentStoreRooftop_Text_220552, MSGBOX_NPC
LilycoveCity_DepartmentStoreRooftop_EventScript_ThirstyMan:: @ 822028C
msgbox LilycoveCity_DepartmentStoreRooftop_Text_BoneDryThirsty, MSGBOX_NPC
end
LilycoveCity_DepartmentStoreRooftop_EventScript_220295:: @ 8220295
LilycoveCity_DepartmentStoreRooftop_EventScript_VendingMachine:: @ 8220295
lockall
message LilycoveCity_DepartmentStoreRooftop_Text_22056D
message LilycoveCity_DepartmentStoreRooftop_Text_WhichDrinkWouldYouLike
waitmessage
showmoneybox 0, 0, 0
goto LilycoveCity_DepartmentStoreRooftop_EventScript_2202A6
goto LilycoveCity_DepartmentStoreRooftop_EventScript_ChooseDrink
end
LilycoveCity_DepartmentStoreRooftop_EventScript_2202A6:: @ 82202A6
LilycoveCity_DepartmentStoreRooftop_EventScript_ChooseDrink:: @ 82202A6
multichoice 16, 0, MULTI_VENDING_MACHINE, 0
copyvar VAR_TEMP_1, VAR_RESULT
switch VAR_TEMP_1
case 0, LilycoveCity_DepartmentStoreRooftop_EventScript_2202E4
case 1, LilycoveCity_DepartmentStoreRooftop_EventScript_2202EF
case 2, LilycoveCity_DepartmentStoreRooftop_EventScript_2202FA
msgbox LilycoveCity_DepartmentStoreRooftop_Text_220603, MSGBOX_DEFAULT
goto LilycoveCity_DepartmentStoreRooftop_EventScript_22045E
case 0, LilycoveCity_DepartmentStoreRooftop_EventScript_FreshWater
case 1, LilycoveCity_DepartmentStoreRooftop_EventScript_SodaPop
case 2, LilycoveCity_DepartmentStoreRooftop_EventScript_Lemonade
msgbox LilycoveCity_DepartmentStoreRooftop_Text_DecidedAgainstBuyingDrink, MSGBOX_DEFAULT
goto LilycoveCity_DepartmentStoreRooftop_EventScript_ExitVendingMachine
end
LilycoveCity_DepartmentStoreRooftop_EventScript_2202E4:: @ 82202E4
LilycoveCity_DepartmentStoreRooftop_EventScript_FreshWater:: @ 82202E4
setvar VAR_TEMP_0, ITEM_FRESH_WATER
goto LilycoveCity_DepartmentStoreRooftop_EventScript_22032F
goto LilycoveCity_DepartmentStoreRooftop_EventScript_TryBuyDrink
end
LilycoveCity_DepartmentStoreRooftop_EventScript_2202EF:: @ 82202EF
LilycoveCity_DepartmentStoreRooftop_EventScript_SodaPop:: @ 82202EF
setvar VAR_TEMP_0, ITEM_SODA_POP
goto LilycoveCity_DepartmentStoreRooftop_EventScript_22032F
goto LilycoveCity_DepartmentStoreRooftop_EventScript_TryBuyDrink
end
LilycoveCity_DepartmentStoreRooftop_EventScript_2202FA:: @ 82202FA
LilycoveCity_DepartmentStoreRooftop_EventScript_Lemonade:: @ 82202FA
setvar VAR_TEMP_0, ITEM_LEMONADE
goto LilycoveCity_DepartmentStoreRooftop_EventScript_22032F
goto LilycoveCity_DepartmentStoreRooftop_EventScript_TryBuyDrink
end
LilycoveCity_DepartmentStoreRooftop_EventScript_220305:: @ 8220305
LilycoveCity_DepartmentStoreRooftop_EventScript_CheckMoneyFreshWater:: @ 8220305
checkmoney 200, 0
return
LilycoveCity_DepartmentStoreRooftop_EventScript_22030C:: @ 822030C
LilycoveCity_DepartmentStoreRooftop_EventScript_CheckMoneySodaPop:: @ 822030C
checkmoney 300, 0
return
LilycoveCity_DepartmentStoreRooftop_EventScript_220313:: @ 8220313
LilycoveCity_DepartmentStoreRooftop_EventScript_CheckMoneyLemonade:: @ 8220313
checkmoney 350, 0
return
LilycoveCity_DepartmentStoreRooftop_EventScript_22031A:: @ 822031A
LilycoveCity_DepartmentStoreRooftop_EventScript_TakeMoneyFreshWater:: @ 822031A
takemoney 200, 0
return
LilycoveCity_DepartmentStoreRooftop_EventScript_220321:: @ 8220321
LilycoveCity_DepartmentStoreRooftop_EventScript_TakeMoneySodaPop:: @ 8220321
takemoney 300, 0
return
LilycoveCity_DepartmentStoreRooftop_EventScript_220328:: @ 8220328
LilycoveCity_DepartmentStoreRooftop_EventScript_TakeMoneyLemonade:: @ 8220328
takemoney 350, 0
return
LilycoveCity_DepartmentStoreRooftop_EventScript_22032F:: @ 822032F
LilycoveCity_DepartmentStoreRooftop_EventScript_TryBuyDrink:: @ 822032F
compare VAR_TEMP_1, 0
call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220305
call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_CheckMoneyFreshWater
compare VAR_TEMP_1, 1
call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_22030C
call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_CheckMoneySodaPop
compare VAR_TEMP_1, 2
call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220313
compare VAR_RESULT, 0
goto_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220442
call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_CheckMoneyLemonade
compare VAR_RESULT, FALSE
goto_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_NotEnoughMoneyForDrink
checkitemspace VAR_TEMP_0, 1
compare VAR_RESULT, 0
goto_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220450
compare VAR_RESULT, FALSE
goto_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_NoRoomForDrink
compare VAR_TEMP_1, 0
call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_22031A
call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_TakeMoneyFreshWater
compare VAR_TEMP_1, 1
call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220321
call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_TakeMoneySodaPop
compare VAR_TEMP_1, 2
call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220328
call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_TakeMoneyLemonade
updatemoneybox 0, 0
bufferitemname 0, VAR_TEMP_0
playse SE_JIHANKI
msgbox LilycoveCity_DepartmentStoreRooftop_Text_2205A1, MSGBOX_DEFAULT
msgbox LilycoveCity_DepartmentStoreRooftop_Text_CanOfDrinkDroppedDown, MSGBOX_DEFAULT
giveitem VAR_TEMP_0, 1
bufferitemname 1, VAR_TEMP_0
bufferstdstring 2, STDSTRING_ITEMS
msgbox gText_PutItemInPocket, MSGBOX_DEFAULT
random 64
random 64 @ 1/64 chance of an additional drink dropping
compare VAR_RESULT, 0
goto_if_ne LilycoveCity_DepartmentStoreRooftop_EventScript_220436
goto_if_ne LilycoveCity_DepartmentStoreRooftop_EventScript_ChooseNewDrink
checkitemspace VAR_TEMP_0, 1
compare VAR_RESULT, FALSE
goto_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_NoRoomForDrink
playse SE_JIHANKI
msgbox LilycoveCity_DepartmentStoreRooftop_Text_ExtraCanOfDrinkDroppedDown, MSGBOX_DEFAULT
giveitem VAR_TEMP_0, 1
bufferitemname 1, VAR_TEMP_0
bufferstdstring 2, STDSTRING_ITEMS
msgbox gText_PutItemInPocket, MSGBOX_DEFAULT
random 64 @ 1/64 * the prev 1/64 chance of a third additional drink dropping, ~ 0.02% chance
compare VAR_RESULT, 0
goto_if_ne LilycoveCity_DepartmentStoreRooftop_EventScript_ChooseNewDrink
checkitemspace VAR_TEMP_0, 1
compare VAR_RESULT, 0
goto_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220450
goto_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_NoRoomForDrink
playse SE_JIHANKI
msgbox LilycoveCity_DepartmentStoreRooftop_Text_2205C2, MSGBOX_DEFAULT
msgbox LilycoveCity_DepartmentStoreRooftop_Text_ExtraCanOfDrinkDroppedDown, MSGBOX_DEFAULT
giveitem VAR_TEMP_0, 1
bufferitemname 1, VAR_TEMP_0
bufferstdstring 2, STDSTRING_ITEMS
msgbox gText_PutItemInPocket, MSGBOX_DEFAULT
random 64
compare VAR_RESULT, 0
goto_if_ne LilycoveCity_DepartmentStoreRooftop_EventScript_220436
checkitemspace VAR_TEMP_0, 1
compare VAR_RESULT, 0
goto_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220450
playse SE_JIHANKI
msgbox LilycoveCity_DepartmentStoreRooftop_Text_2205C2, MSGBOX_DEFAULT
giveitem VAR_TEMP_0, 1
bufferitemname 1, VAR_TEMP_0
bufferstdstring 2, STDSTRING_ITEMS
msgbox gText_PutItemInPocket, MSGBOX_DEFAULT
goto LilycoveCity_DepartmentStoreRooftop_EventScript_220436
goto LilycoveCity_DepartmentStoreRooftop_EventScript_ChooseNewDrink
end
LilycoveCity_DepartmentStoreRooftop_EventScript_220436:: @ 8220436
message LilycoveCity_DepartmentStoreRooftop_Text_22056D
LilycoveCity_DepartmentStoreRooftop_EventScript_ChooseNewDrink:: @ 8220436
message LilycoveCity_DepartmentStoreRooftop_Text_WhichDrinkWouldYouLike
waitmessage
goto LilycoveCity_DepartmentStoreRooftop_EventScript_2202A6
goto LilycoveCity_DepartmentStoreRooftop_EventScript_ChooseDrink
end
LilycoveCity_DepartmentStoreRooftop_EventScript_220442:: @ 8220442
msgbox LilycoveCity_DepartmentStoreRooftop_Text_2205F1, MSGBOX_DEFAULT
goto LilycoveCity_DepartmentStoreRooftop_EventScript_22045E
LilycoveCity_DepartmentStoreRooftop_EventScript_NotEnoughMoneyForDrink:: @ 8220442
msgbox LilycoveCity_DepartmentStoreRooftop_Text_NotEnoughMoney, MSGBOX_DEFAULT
goto LilycoveCity_DepartmentStoreRooftop_EventScript_ExitVendingMachine
end
LilycoveCity_DepartmentStoreRooftop_EventScript_220450:: @ 8220450
LilycoveCity_DepartmentStoreRooftop_EventScript_NoRoomForDrink:: @ 8220450
msgbox gText_TheBagIsFull, MSGBOX_DEFAULT
goto LilycoveCity_DepartmentStoreRooftop_EventScript_22045E
goto LilycoveCity_DepartmentStoreRooftop_EventScript_ExitVendingMachine
end
LilycoveCity_DepartmentStoreRooftop_EventScript_22045E:: @ 822045E
LilycoveCity_DepartmentStoreRooftop_EventScript_ExitVendingMachine:: @ 822045E
hidemoneybox
nop
nop
releaseall
end
LilycoveCity_DepartmentStoreRooftop_Text_220463: @ 8220463
LilycoveCity_DepartmentStoreRooftop_Text_SetDatesForClearOutSales: @ 8220463
.string "Don't they have set dates for their\n"
.string "clear-out sales?\p"
.string "I watch TV, but they never show any\n"
.string "commercials.$"
LilycoveCity_DepartmentStoreRooftop_Text_2204C9: @ 82204C9
LilycoveCity_DepartmentStoreRooftop_Text_BeenWaitingForClearOutSale: @ 82204C9
.string "Yes! I've been waiting a long time for\n"
.string "this clear-out sale.\p"
.string "They have items that you can only get\n"
.string "here. I'm going to load up, that I am!$"
LilycoveCity_DepartmentStoreRooftop_Text_220552: @ 8220552
LilycoveCity_DepartmentStoreRooftop_Text_BoneDryThirsty: @ 8220552
.string "Ohh… I'm bone-dry thirsty!$"
LilycoveCity_DepartmentStoreRooftop_Text_22056D: @ 822056D
LilycoveCity_DepartmentStoreRooftop_Text_WhichDrinkWouldYouLike: @ 822056D
.string "It's a VENDING MACHINE.\n"
.string "Which drink would you like?$"
LilycoveCity_DepartmentStoreRooftop_Text_2205A1: @ 82205A1
LilycoveCity_DepartmentStoreRooftop_Text_CanOfDrinkDroppedDown: @ 82205A1
.string "Clang!\p"
.string "A can of {STR_VAR_1} dropped down.$"
LilycoveCity_DepartmentStoreRooftop_Text_2205C2: @ 82205C2
LilycoveCity_DepartmentStoreRooftop_Text_ExtraCanOfDrinkDroppedDown: @ 82205C2
.string "Clang!\p"
.string "Score! An extra can of {STR_VAR_1}\n"
.string "dropped down!$"
LilycoveCity_DepartmentStoreRooftop_Text_2205F1: @ 82205F1
LilycoveCity_DepartmentStoreRooftop_Text_NotEnoughMoney: @ 82205F1
.string "Not enough money…$"
LilycoveCity_DepartmentStoreRooftop_Text_220603: @ 8220603
LilycoveCity_DepartmentStoreRooftop_Text_DecidedAgainstBuyingDrink: @ 8220603
.string "Decided against buying a drink.$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_1F_EventScript_21F693",
"script": "LilycoveCity_DepartmentStore_1F_EventScript_Greeter",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_1F_EventScript_21F69C",
"script": "LilycoveCity_DepartmentStore_1F_EventScript_LotteryClerk",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_1F_EventScript_21F82F",
"script": "LilycoveCity_DepartmentStore_1F_EventScript_PokefanF",
"flag": "0"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_1F_EventScript_21F838",
"script": "LilycoveCity_DepartmentStore_1F_EventScript_LittleGirl",
"flag": "0"
},
{
@@ -76,7 +76,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_1F_EventScript_21F841",
"script": "LilycoveCity_DepartmentStore_1F_EventScript_PokefanM",
"flag": "0"
},
{
@@ -89,7 +89,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_1F_EventScript_21F84A",
"script": "LilycoveCity_DepartmentStore_1F_EventScript_Azumarill",
"flag": "0"
}
],
@@ -131,7 +131,7 @@
"y": 8,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "LilycoveCity_DepartmentStore_1F_EventScript_21F85D"
"script": "LilycoveCity_DepartmentStore_1F_EventScript_FloorNamesSign"
}
]
}

View File

@@ -1,27 +1,27 @@
LilycoveCity_DepartmentStore_1F_MapScripts:: @ 821F692
.byte 0
LilycoveCity_DepartmentStore_1F_EventScript_21F693:: @ 821F693
msgbox LilycoveCity_DepartmentStore_1F_Text_21F866, MSGBOX_NPC
LilycoveCity_DepartmentStore_1F_EventScript_Greeter:: @ 821F693
msgbox LilycoveCity_DepartmentStore_1F_Text_WelcomeToDeptStore, MSGBOX_NPC
end
LilycoveCity_DepartmentStore_1F_EventScript_21F69C:: @ 821F69C
LilycoveCity_DepartmentStore_1F_EventScript_LotteryClerk:: @ 821F69C
lock
faceplayer
dotimebasedevents
compare VAR_POKELOT_PRIZE_ITEM, 0
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_POKELOT_PRIZE_ITEM, ITEM_NONE
goto_if_ne LilycoveCity_DepartmentStore_1F_EventScript_GivePrizeFromEarlier
goto_if_set FLAG_DAILY_PICKED_LOTO_TICKET, LilycoveCity_DepartmentStore_1F_EventScript_ComeBackTomorrow
msgbox LilycoveCity_DepartmentStore_1F_Text_LotteryCornerDrawTicket, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq LilycoveCity_DepartmentStore_1F_EventScript_21F797
goto_if_eq LilycoveCity_DepartmentStore_1F_EventScript_PleaseVisitAgain
setflag FLAG_DAILY_PICKED_LOTO_TICKET
message LilycoveCity_DepartmentStore_1F_Text_2A64C8
message LilycoveCity_DepartmentStore_1F_Text_PleasePickTicket
waitmessage
special RetrieveLotteryNumber
copyvar VAR_0x8008, VAR_RESULT
special BufferLottoTicketNumber
msgbox LilycoveCity_DepartmentStore_1F_Text_2A650B, MSGBOX_DEFAULT
msgbox LilycoveCity_DepartmentStore_1F_Text_TicketNumberIsXPleaseWait, MSGBOX_DEFAULT
applymovement 2, Common_Movement_WalkInPlaceFastestRight
waitmovement 0
playse SE_PC_ON
@@ -33,142 +33,142 @@ LilycoveCity_DepartmentStore_1F_EventScript_21F69C:: @ 821F69C
applymovement 2, Common_Movement_FacePlayer
waitmovement 0
compare VAR_0x8004, 0
goto_if_eq LilycoveCity_DepartmentStore_1F_EventScript_21F7A1
goto_if_eq LilycoveCity_DepartmentStore_1F_EventScript_NoMatch
incrementgamestat GAME_STAT_WON_POKEMON_LOTTERY
compare VAR_0x8006, 0
call_if_eq LilycoveCity_DepartmentStore_1F_EventScript_21F77B
call_if_eq LilycoveCity_DepartmentStore_1F_EventScript_TicketMatchPartyMon
compare VAR_0x8006, 1
call_if_eq LilycoveCity_DepartmentStore_1F_EventScript_21F784
call_if_eq LilycoveCity_DepartmentStore_1F_EventScript_TicketMatchPCMon
bufferitemname 0, VAR_0x8005
compare VAR_0x8004, 1
call_if_eq LilycoveCity_DepartmentStore_1F_EventScript_21F7B9
call_if_eq LilycoveCity_DepartmentStore_1F_EventScript_TwoDigitMatch
compare VAR_0x8004, 2
call_if_eq LilycoveCity_DepartmentStore_1F_EventScript_21F7C2
call_if_eq LilycoveCity_DepartmentStore_1F_EventScript_ThreeDigitMatch
compare VAR_0x8004, 3
call_if_eq LilycoveCity_DepartmentStore_1F_EventScript_21F7CB
call_if_eq LilycoveCity_DepartmentStore_1F_EventScript_FourDigitMatch
compare VAR_0x8004, 4
call_if_eq LilycoveCity_DepartmentStore_1F_EventScript_21F7D4
call_if_eq LilycoveCity_DepartmentStore_1F_EventScript_FullMatch
giveitem_std VAR_0x8005
compare VAR_RESULT, 0
goto_if_eq LilycoveCity_DepartmentStore_1F_EventScript_21F7DD
special sub_80EE2CC
goto LilycoveCity_DepartmentStore_1F_EventScript_21F7AF
compare VAR_RESULT, FALSE
goto_if_eq LilycoveCity_DepartmentStore_1F_EventScript_RecordPrizeNoRoom
special TryPutLotteryWinnerReportOnAir
goto LilycoveCity_DepartmentStore_1F_EventScript_PleaseVisitAgain2
end
LilycoveCity_DepartmentStore_1F_EventScript_21F77B:: @ 821F77B
msgbox LilycoveCity_DepartmentStore_1F_Text_2A6592, MSGBOX_DEFAULT
LilycoveCity_DepartmentStore_1F_EventScript_TicketMatchPartyMon:: @ 821F77B
msgbox LilycoveCity_DepartmentStore_1F_Text_TicketMatchesPartyMon, MSGBOX_DEFAULT
return
LilycoveCity_DepartmentStore_1F_EventScript_21F784:: @ 821F784
msgbox LilycoveCity_DepartmentStore_1F_Text_2A65E6, MSGBOX_DEFAULT
LilycoveCity_DepartmentStore_1F_EventScript_TicketMatchPCMon:: @ 821F784
msgbox LilycoveCity_DepartmentStore_1F_Text_TicketMatchesPCMon, MSGBOX_DEFAULT
return
LilycoveCity_DepartmentStore_1F_EventScript_21F78D:: @ 821F78D
msgbox LilycoveCity_DepartmentStore_1F_Text_2A6496, MSGBOX_DEFAULT
LilycoveCity_DepartmentStore_1F_EventScript_ComeBackTomorrow:: @ 821F78D
msgbox LilycoveCity_DepartmentStore_1F_Text_ComeBackTomorrow, MSGBOX_DEFAULT
release
end
LilycoveCity_DepartmentStore_1F_EventScript_21F797:: @ 821F797
msgbox LilycoveCity_DepartmentStore_1F_Text_2A64B1, MSGBOX_DEFAULT
LilycoveCity_DepartmentStore_1F_EventScript_PleaseVisitAgain:: @ 821F797
msgbox LilycoveCity_DepartmentStore_1F_Text_PleaseVisitAgain, MSGBOX_DEFAULT
release
end
LilycoveCity_DepartmentStore_1F_EventScript_21F7A1:: @ 821F7A1
msgbox LilycoveCity_DepartmentStore_1F_Text_2A663C, MSGBOX_DEFAULT
goto LilycoveCity_DepartmentStore_1F_EventScript_21F7AF
LilycoveCity_DepartmentStore_1F_EventScript_NoMatch:: @ 821F7A1
msgbox LilycoveCity_DepartmentStore_1F_Text_NoNumbersMatched, MSGBOX_DEFAULT
goto LilycoveCity_DepartmentStore_1F_EventScript_PleaseVisitAgain2
end
LilycoveCity_DepartmentStore_1F_EventScript_21F7AF:: @ 821F7AF
msgbox LilycoveCity_DepartmentStore_1F_Text_2A6831, MSGBOX_DEFAULT
LilycoveCity_DepartmentStore_1F_EventScript_PleaseVisitAgain2:: @ 821F7AF
msgbox LilycoveCity_DepartmentStore_1F_Text_PleaseVisitAgain2, MSGBOX_DEFAULT
release
end
LilycoveCity_DepartmentStore_1F_EventScript_21F7B9:: @ 821F7B9
msgbox LilycoveCity_DepartmentStore_1F_Text_2A6664, MSGBOX_DEFAULT
LilycoveCity_DepartmentStore_1F_EventScript_TwoDigitMatch:: @ 821F7B9
msgbox LilycoveCity_DepartmentStore_1F_Text_TwoDigitsMatched, MSGBOX_DEFAULT
return
LilycoveCity_DepartmentStore_1F_EventScript_21F7C2:: @ 821F7C2
msgbox LilycoveCity_DepartmentStore_1F_Text_2A66A7, MSGBOX_DEFAULT
LilycoveCity_DepartmentStore_1F_EventScript_ThreeDigitMatch:: @ 821F7C2
msgbox LilycoveCity_DepartmentStore_1F_Text_ThreeDigitsMatched, MSGBOX_DEFAULT
return
LilycoveCity_DepartmentStore_1F_EventScript_21F7CB:: @ 821F7CB
msgbox LilycoveCity_DepartmentStore_1F_Text_2A66ED, MSGBOX_DEFAULT
LilycoveCity_DepartmentStore_1F_EventScript_FourDigitMatch:: @ 821F7CB
msgbox LilycoveCity_DepartmentStore_1F_Text_FourDigitsMatched, MSGBOX_DEFAULT
return
LilycoveCity_DepartmentStore_1F_EventScript_21F7D4:: @ 821F7D4
msgbox LilycoveCity_DepartmentStore_1F_Text_2A6731, MSGBOX_DEFAULT
LilycoveCity_DepartmentStore_1F_EventScript_FullMatch:: @ 821F7D4
msgbox LilycoveCity_DepartmentStore_1F_Text_AllFiveDigitsMatched, MSGBOX_DEFAULT
return
LilycoveCity_DepartmentStore_1F_EventScript_21F7DD:: @ 821F7DD
LilycoveCity_DepartmentStore_1F_EventScript_RecordPrizeNoRoom:: @ 821F7DD
copyvar VAR_POKELOT_PRIZE_PLACE, VAR_0x8004
copyvar VAR_POKELOT_PRIZE_ITEM, VAR_0x8005
goto LilycoveCity_DepartmentStore_1F_EventScript_21F7ED
goto LilycoveCity_DepartmentStore_1F_EventScript_NoRoomForPrize
end
LilycoveCity_DepartmentStore_1F_EventScript_21F7ED:: @ 821F7ED
msgbox LilycoveCity_DepartmentStore_1F_Text_2A678C, MSGBOX_DEFAULT
LilycoveCity_DepartmentStore_1F_EventScript_NoRoomForPrize:: @ 821F7ED
msgbox LilycoveCity_DepartmentStore_1F_Text_NoRoomForThis, MSGBOX_DEFAULT
release
end
LilycoveCity_DepartmentStore_1F_EventScript_21F7F7:: @ 821F7F7
msgbox LilycoveCity_DepartmentStore_1F_Text_2A67E1, MSGBOX_DEFAULT
LilycoveCity_DepartmentStore_1F_EventScript_GivePrizeFromEarlier:: @ 821F7F7
msgbox LilycoveCity_DepartmentStore_1F_Text_PrizeWeveBeenHolding, MSGBOX_DEFAULT
giveitem_std VAR_POKELOT_PRIZE_ITEM
compare VAR_RESULT, 0
goto_if_eq LilycoveCity_DepartmentStore_1F_EventScript_21F7ED
compare VAR_RESULT, FALSE
goto_if_eq LilycoveCity_DepartmentStore_1F_EventScript_NoRoomForPrize
copyvar VAR_0x8004, VAR_POKELOT_PRIZE_PLACE
copyvar VAR_0x8005, VAR_POKELOT_PRIZE_ITEM
special sub_80EE2CC
setvar VAR_POKELOT_PRIZE_ITEM, 0
special TryPutLotteryWinnerReportOnAir
setvar VAR_POKELOT_PRIZE_ITEM, ITEM_NONE
setvar VAR_POKELOT_PRIZE_PLACE, 0
release
end
LilycoveCity_DepartmentStore_1F_EventScript_21F82F:: @ 821F82F
msgbox LilycoveCity_DepartmentStore_1F_Text_21F88C, MSGBOX_NPC
LilycoveCity_DepartmentStore_1F_EventScript_PokefanF:: @ 821F82F
msgbox LilycoveCity_DepartmentStore_1F_Text_IBuyAllSortsOfThings, MSGBOX_NPC
end
LilycoveCity_DepartmentStore_1F_EventScript_21F838:: @ 821F838
msgbox LilycoveCity_DepartmentStore_1F_Text_21F8F5, MSGBOX_NPC
LilycoveCity_DepartmentStore_1F_EventScript_LittleGirl:: @ 821F838
msgbox LilycoveCity_DepartmentStore_1F_Text_MomBuyingMeFurniture, MSGBOX_NPC
end
LilycoveCity_DepartmentStore_1F_EventScript_21F841:: @ 821F841
msgbox LilycoveCity_DepartmentStore_1F_Text_21F92B, MSGBOX_NPC
LilycoveCity_DepartmentStore_1F_EventScript_PokefanM:: @ 821F841
msgbox LilycoveCity_DepartmentStore_1F_Text_BuyingSomethingForAzumarill, MSGBOX_NPC
end
LilycoveCity_DepartmentStore_1F_EventScript_21F84A:: @ 821F84A
LilycoveCity_DepartmentStore_1F_EventScript_Azumarill:: @ 821F84A
lock
faceplayer
waitse
playmoncry SPECIES_AZUMARILL, 0
msgbox LilycoveCity_DepartmentStore_1F_Text_21F974, MSGBOX_DEFAULT
msgbox LilycoveCity_DepartmentStore_1F_Text_Azumarill, MSGBOX_DEFAULT
waitmoncry
release
end
LilycoveCity_DepartmentStore_1F_EventScript_21F85D:: @ 821F85D
msgbox LilycoveCity_DepartmentStore_1F_Text_21F98A, MSGBOX_SIGN
LilycoveCity_DepartmentStore_1F_EventScript_FloorNamesSign:: @ 821F85D
msgbox LilycoveCity_DepartmentStore_1F_Text_FloorNamesSign, MSGBOX_SIGN
end
LilycoveCity_DepartmentStore_1F_Text_21F866: @ 821F866
LilycoveCity_DepartmentStore_1F_Text_WelcomeToDeptStore: @ 821F866
.string "Welcome to LILYCOVE DEPARTMENT STORE.$"
LilycoveCity_DepartmentStore_1F_Text_21F88C: @ 821F88C
LilycoveCity_DepartmentStore_1F_Text_IBuyAllSortsOfThings: @ 821F88C
.string "Whenever I come to the DEPARTMENT\n"
.string "STORE, I always end up buying all sorts\l"
.string "of things because it's so fun.$"
LilycoveCity_DepartmentStore_1F_Text_21F8F5: @ 821F8F5
LilycoveCity_DepartmentStore_1F_Text_MomBuyingMeFurniture: @ 821F8F5
.string "Today, my mom is going to buy me some\n"
.string "nice furniture.$"
LilycoveCity_DepartmentStore_1F_Text_21F92B: @ 821F92B
LilycoveCity_DepartmentStore_1F_Text_BuyingSomethingForAzumarill: @ 821F92B
.string "I'm buying something for my AZUMARILL\n"
.string "as a reward for winning a CONTEST.$"
LilycoveCity_DepartmentStore_1F_Text_21F974: @ 821F974
LilycoveCity_DepartmentStore_1F_Text_Azumarill: @ 821F974
.string "AZUMARILL: Maririroo!$"
LilycoveCity_DepartmentStore_1F_Text_21F98A: @ 821F98A
LilycoveCity_DepartmentStore_1F_Text_FloorNamesSign: @ 821F98A
.string "1F: SERVICE COUNTER\n"
.string " LOTTERY CORNER\p"
.string "2F: TRAINER'S ZONE\p"
@@ -177,7 +177,8 @@ LilycoveCity_DepartmentStore_1F_Text_21F98A: @ 821F98A
.string "5F: POKé DOLL FLOOR\p"
.string "ROOFTOP: ROOFTOP PLAZA$"
LilycoveCity_DepartmentStore_1F_Text_21FA13: @ 821FA13
@ Unused
LilycoveCity_DepartmentStore_1F_Text_WirelessCommIsFun: @ 821FA13
.string "Wireless Communication is a\n"
.string "lot of fun, isn't it?\p"
.string "I think it lets you do things that\n"
@@ -186,7 +187,8 @@ LilycoveCity_DepartmentStore_1F_Text_21FA13: @ 821FA13
.string "with people you couldn't before.\p"
.string "I think it's going to be exciting!$"
LilycoveCity_DepartmentStore_1F_Text_21FAE5: @ 821FAE5
@ Unused
LilycoveCity_DepartmentStore_1F_Text_SpreadWordAboutWirelessComm: @ 821FAE5
.string "I want to spread the word about how\n"
.string "fun Wireless Communication can be.$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_2F_EventScript_21FB2D",
"script": "LilycoveCity_DepartmentStore_2F_EventScript_Cook",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_2F_EventScript_21FB36",
"script": "LilycoveCity_DepartmentStore_2F_EventScript_PokefanF",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_2F_EventScript_21FB3F",
"script": "LilycoveCity_DepartmentStore_2F_EventScript_Sailor",
"flag": "0"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_2F_EventScript_21FB7A",
"script": "LilycoveCity_DepartmentStore_2F_EventScript_ClerkRight",
"flag": "0"
},
{
@@ -76,7 +76,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_2F_EventScript_21FB48",
"script": "LilycoveCity_DepartmentStore_2F_EventScript_ClerkLeft",
"flag": "0"
}
],

View File

@@ -1,30 +1,30 @@
LilycoveCity_DepartmentStore_2F_MapScripts:: @ 821FB2C
.byte 0
LilycoveCity_DepartmentStore_2F_EventScript_21FB2D:: @ 821FB2D
msgbox LilycoveCity_DepartmentStore_2F_Text_21FBAC, MSGBOX_NPC
LilycoveCity_DepartmentStore_2F_EventScript_Cook:: @ 821FB2D
msgbox LilycoveCity_DepartmentStore_2F_Text_LearnToUseItemsProperly, MSGBOX_NPC
end
LilycoveCity_DepartmentStore_2F_EventScript_21FB36:: @ 821FB36
msgbox LilycoveCity_DepartmentStore_2F_Text_21FBDF, MSGBOX_NPC
LilycoveCity_DepartmentStore_2F_EventScript_PokefanF:: @ 821FB36
msgbox LilycoveCity_DepartmentStore_2F_Text_GoodGiftForHusband, MSGBOX_NPC
end
LilycoveCity_DepartmentStore_2F_EventScript_21FB3F:: @ 821FB3F
msgbox LilycoveCity_DepartmentStore_2F_Text_21FC23, MSGBOX_NPC
LilycoveCity_DepartmentStore_2F_EventScript_Sailor:: @ 821FB3F
msgbox LilycoveCity_DepartmentStore_2F_Text_StockUpOnItems, MSGBOX_NPC
end
LilycoveCity_DepartmentStore_2F_EventScript_21FB48:: @ 821FB48
LilycoveCity_DepartmentStore_2F_EventScript_ClerkLeft:: @ 821FB48
lock
faceplayer
message gText_HowMayIServeYou
waitmessage
pokemart LilycoveCity_DepartmentStore_2F_Pokemart_21FB60
pokemart LilycoveCity_DepartmentStore_2F_Pokemart1
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
.align 2
LilycoveCity_DepartmentStore_2F_Pokemart_21FB60: @ 821FB60
LilycoveCity_DepartmentStore_2F_Pokemart1: @ 821FB60
.2byte ITEM_POKE_BALL
.2byte ITEM_GREAT_BALL
.2byte ITEM_ULTRA_BALL
@@ -40,18 +40,18 @@ LilycoveCity_DepartmentStore_2F_Pokemart_21FB60: @ 821FB60
release
end
LilycoveCity_DepartmentStore_2F_EventScript_21FB7A:: @ 821FB7A
LilycoveCity_DepartmentStore_2F_EventScript_ClerkRight:: @ 821FB7A
lock
faceplayer
message gText_HowMayIServeYou
waitmessage
pokemart LilycoveCity_DepartmentStore_2F_Pokemart_21FB94
pokemart LilycoveCity_DepartmentStore_2F_Pokemart2
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
.align 2
LilycoveCity_DepartmentStore_2F_Pokemart_21FB94: @ 821FB94
LilycoveCity_DepartmentStore_2F_Pokemart2: @ 821FB94
.2byte ITEM_POTION
.2byte ITEM_SUPER_POTION
.2byte ITEM_HYPER_POTION
@@ -66,15 +66,15 @@ LilycoveCity_DepartmentStore_2F_Pokemart_21FB94: @ 821FB94
release
end
LilycoveCity_DepartmentStore_2F_Text_21FBAC: @ 821FBAC
LilycoveCity_DepartmentStore_2F_Text_LearnToUseItemsProperly: @ 821FBAC
.string "Learn to use items properly.\n"
.string "That's basic, really.$"
LilycoveCity_DepartmentStore_2F_Text_21FBDF: @ 821FBDF
LilycoveCity_DepartmentStore_2F_Text_GoodGiftForHusband: @ 821FBDF
.string "My husband is waiting at home.\n"
.string "What would make a good gift for him?$"
LilycoveCity_DepartmentStore_2F_Text_21FC23: @ 821FC23
LilycoveCity_DepartmentStore_2F_Text_StockUpOnItems: @ 821FC23
.string "I'm leaving on a long journey soon.\n"
.string "I need to stock up on items.$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_3F_EventScript_21FCB6",
"script": "LilycoveCity_DepartmentStore_3F_EventScript_TriathleteM",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_3F_EventScript_21FCBF",
"script": "LilycoveCity_DepartmentStore_3F_EventScript_PokefanM",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_3F_EventScript_21FCC8",
"script": "LilycoveCity_DepartmentStore_3F_EventScript_Woman",
"flag": "0"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_3F_EventScript_21FC65",
"script": "LilycoveCity_DepartmentStore_3F_EventScript_ClerkLeft",
"flag": "0"
},
{
@@ -76,7 +76,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_3F_EventScript_21FC8C",
"script": "LilycoveCity_DepartmentStore_3F_EventScript_ClerkRight",
"flag": "0"
}
],

View File

@@ -1,17 +1,17 @@
LilycoveCity_DepartmentStore_3F_MapScripts:: @ 821FC64
.byte 0
LilycoveCity_DepartmentStore_3F_EventScript_21FC65:: @ 821FC65
LilycoveCity_DepartmentStore_3F_EventScript_ClerkLeft:: @ 821FC65
lock
faceplayer
message gText_HowMayIServeYou
waitmessage
pokemart LilycoveCity_DepartmentStore_3F_Pokemart_21FC7C
pokemart LilycoveCity_DepartmentStore_3F_Pokemart_Vitamins
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
LilycoveCity_DepartmentStore_3F_Pokemart_21FC7C: @ 821FC7C
LilycoveCity_DepartmentStore_3F_Pokemart_Vitamins: @ 821FC7C
.2byte ITEM_PROTEIN
.2byte ITEM_CALCIUM
.2byte ITEM_IRON
@@ -22,18 +22,18 @@ LilycoveCity_DepartmentStore_3F_Pokemart_21FC7C: @ 821FC7C
release
end
LilycoveCity_DepartmentStore_3F_EventScript_21FC8C:: @ 821FC8C
LilycoveCity_DepartmentStore_3F_EventScript_ClerkRight:: @ 821FC8C
lock
faceplayer
message gText_HowMayIServeYou
waitmessage
pokemart LilycoveCity_DepartmentStore_3F_Pokemart_21FCA4
pokemart LilycoveCity_DepartmentStore_3F_Pokemart_StatBoosters
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
.align 2
LilycoveCity_DepartmentStore_3F_Pokemart_21FCA4: @ 821FCA4
LilycoveCity_DepartmentStore_3F_Pokemart_StatBoosters: @ 821FCA4
.2byte ITEM_X_SPEED
.2byte ITEM_X_SPECIAL
.2byte ITEM_X_ATTACK
@@ -45,31 +45,31 @@ LilycoveCity_DepartmentStore_3F_Pokemart_21FCA4: @ 821FCA4
release
end
LilycoveCity_DepartmentStore_3F_EventScript_21FCB6:: @ 821FCB6
msgbox LilycoveCity_DepartmentStore_3F_Text_21FCD1, MSGBOX_NPC
LilycoveCity_DepartmentStore_3F_EventScript_TriathleteM:: @ 821FCB6
msgbox LilycoveCity_DepartmentStore_3F_Text_ItemsBestForTougheningPokemon, MSGBOX_NPC
end
LilycoveCity_DepartmentStore_3F_EventScript_21FCBF:: @ 821FCBF
msgbox LilycoveCity_DepartmentStore_3F_Text_21FD3B, MSGBOX_NPC
LilycoveCity_DepartmentStore_3F_EventScript_PokefanM:: @ 821FCBF
msgbox LilycoveCity_DepartmentStore_3F_Text_WantMoreEndurance, MSGBOX_NPC
end
LilycoveCity_DepartmentStore_3F_EventScript_21FCC8:: @ 821FCC8
msgbox LilycoveCity_DepartmentStore_3F_Text_21FDB4, MSGBOX_NPC
LilycoveCity_DepartmentStore_3F_EventScript_Woman:: @ 821FCC8
msgbox LilycoveCity_DepartmentStore_3F_Text_GaveCarbosToSpeedUpMon, MSGBOX_NPC
end
LilycoveCity_DepartmentStore_3F_Text_21FCD1: @ 821FCD1
LilycoveCity_DepartmentStore_3F_Text_ItemsBestForTougheningPokemon: @ 821FCD1
.string "For quickly toughening up POKéMON,\n"
.string "items are the best.\p"
.string "PROTEIN boosts ATTACK,\n"
.string "and CALCIUM raises SP. ATK.$"
LilycoveCity_DepartmentStore_3F_Text_21FD3B: @ 821FD3B
LilycoveCity_DepartmentStore_3F_Text_WantMoreEndurance: @ 821FD3B
.string "I want my POKéMON to have more\n"
.string "endurance.\p"
.string "I'm trying to decide whether to raise\n"
.string "DEFENSE with IRON, or SP. DEF with ZINC.$"
LilycoveCity_DepartmentStore_3F_Text_21FDB4: @ 821FDB4
LilycoveCity_DepartmentStore_3F_Text_GaveCarbosToSpeedUpMon: @ 821FDB4
.string "I gave a CARBOS to my POKéMON,\n"
.string "and its SPEED went up.$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_4F_EventScript_21FDEB",
"script": "LilycoveCity_DepartmentStore_4F_EventScript_Gentleman",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_4F_EventScript_21FDF4",
"script": "LilycoveCity_DepartmentStore_4F_EventScript_Woman",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_4F_EventScript_21FDFD",
"script": "LilycoveCity_DepartmentStore_4F_EventScript_Youngster",
"flag": "0"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_4F_EventScript_21FE06",
"script": "LilycoveCity_DepartmentStore_4F_EventScript_ClerkLeft",
"flag": "0"
},
{
@@ -76,7 +76,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_4F_EventScript_21FE2C",
"script": "LilycoveCity_DepartmentStore_4F_EventScript_ClerkRight",
"flag": "0"
}
],

View File

@@ -1,72 +1,72 @@
LilycoveCity_DepartmentStore_4F_MapScripts:: @ 821FDEA
.byte 0
LilycoveCity_DepartmentStore_4F_EventScript_21FDEB:: @ 821FDEB
msgbox LilycoveCity_DepartmentStore_4F_Text_21FE50, MSGBOX_NPC
LilycoveCity_DepartmentStore_4F_EventScript_Gentleman:: @ 821FDEB
msgbox LilycoveCity_DepartmentStore_4F_Text_AttackOrDefenseTM, MSGBOX_NPC
end
LilycoveCity_DepartmentStore_4F_EventScript_21FDF4:: @ 821FDF4
msgbox LilycoveCity_DepartmentStore_4F_Text_21FEC7, MSGBOX_NPC
LilycoveCity_DepartmentStore_4F_EventScript_Woman:: @ 821FDF4
msgbox LilycoveCity_DepartmentStore_4F_Text_FiftyDifferentTMs, MSGBOX_NPC
end
LilycoveCity_DepartmentStore_4F_EventScript_21FDFD:: @ 821FDFD
msgbox LilycoveCity_DepartmentStore_4F_Text_21FF2D, MSGBOX_NPC
LilycoveCity_DepartmentStore_4F_EventScript_Youngster:: @ 821FDFD
msgbox LilycoveCity_DepartmentStore_4F_Text_PokemonOnlyHaveFourMoves, MSGBOX_NPC
end
LilycoveCity_DepartmentStore_4F_EventScript_21FE06:: @ 821FE06
LilycoveCity_DepartmentStore_4F_EventScript_ClerkLeft:: @ 821FE06
lock
faceplayer
message gText_HowMayIServeYou
waitmessage
pokemart LilycoveCity_DepartmentStore_4F_Pokemart_21FE20
pokemart LilycoveCity_DepartmentStore_4F_Pokemart_AttackTMs
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
.align 2
LilycoveCity_DepartmentStore_4F_Pokemart_21FE20: @ 821FE20
.2byte ITEM_TM38
.2byte ITEM_TM25
.2byte ITEM_TM14
.2byte ITEM_TM15
LilycoveCity_DepartmentStore_4F_Pokemart_AttackTMs: @ 821FE20
.2byte ITEM_TM38 @ Fire Blast
.2byte ITEM_TM25 @ Thunder
.2byte ITEM_TM14 @ Blizzard
.2byte ITEM_TM15 @ Hyper Beam
.2byte ITEM_NONE
release
end
LilycoveCity_DepartmentStore_4F_EventScript_21FE2C:: @ 821FE2C
LilycoveCity_DepartmentStore_4F_EventScript_ClerkRight:: @ 821FE2C
lock
faceplayer
message gText_HowMayIServeYou
waitmessage
pokemart LilycoveCity_DepartmentStore_4F_Pokemart_21FE44
pokemart LilycoveCity_DepartmentStore_4F_Pokemart_DefenseTMs
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
.align 2
LilycoveCity_DepartmentStore_4F_Pokemart_21FE44: @ 821FE44
.2byte ITEM_TM17
.2byte ITEM_TM20
.2byte ITEM_TM33
.2byte ITEM_TM16
LilycoveCity_DepartmentStore_4F_Pokemart_DefenseTMs: @ 821FE44
.2byte ITEM_TM17 @ Protect
.2byte ITEM_TM20 @ Safeguard
.2byte ITEM_TM33 @ Reflect
.2byte ITEM_TM16 @ Light Screen
.2byte ITEM_NONE
release
end
LilycoveCity_DepartmentStore_4F_Text_21FE50: @ 821FE50
LilycoveCity_DepartmentStore_4F_Text_AttackOrDefenseTM: @ 821FE50
.string "Hmm…\p"
.string "An attacking move…\n"
.string "Or a defensive move…\p"
.string "It's no easy matter to decide which TM\n"
.string "moves should be taught to POKéMON…$"
LilycoveCity_DepartmentStore_4F_Text_21FEC7: @ 821FEC7
LilycoveCity_DepartmentStore_4F_Text_FiftyDifferentTMs: @ 821FEC7
.string "There are so many different kinds of\n"
.string "TM moves.\p"
.string "A catalog I read said there are fifty\n"
.string "different kinds.$"
LilycoveCity_DepartmentStore_4F_Text_21FF2D: @ 821FF2D
LilycoveCity_DepartmentStore_4F_Text_PokemonOnlyHaveFourMoves: @ 821FF2D
.string "I'd like to get all the different TMs,\n"
.string "but a POKéMON learns only four moves.$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_5F_EventScript_2200BC",
"script": "LilycoveCity_DepartmentStore_5F_EventScript_LittleGirl",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_5F_EventScript_22006C",
"script": "LilycoveCity_DepartmentStore_5F_EventScript_PokefanF",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_5F_EventScript_21FFA6",
"script": "LilycoveCity_DepartmentStore_5F_EventScript_ClerkFarLeft",
"flag": "0"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_5F_EventScript_21FFDC",
"script": "LilycoveCity_DepartmentStore_5F_EventScript_ClerkMidLeft",
"flag": "0"
},
{
@@ -76,7 +76,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_5F_EventScript_22000A",
"script": "LilycoveCity_DepartmentStore_5F_EventScript_ClerkMidRight",
"flag": "0"
},
{
@@ -89,7 +89,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_5F_EventScript_22003A",
"script": "LilycoveCity_DepartmentStore_5F_EventScript_ClerkFarRight",
"flag": "0"
},
{
@@ -102,7 +102,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_DepartmentStore_5F_EventScript_220075",
"script": "LilycoveCity_DepartmentStore_5F_EventScript_Woman",
"flag": "0"
}
],

View File

@@ -1,19 +1,21 @@
LilycoveCity_DepartmentStore_5F_MapScripts:: @ 821FF7A
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, LilycoveCity_DepartmentStore_5F_MapScript2_21FF80
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, LilycoveCity_DepartmentStore_5F_OnWarp
.byte 0
LilycoveCity_DepartmentStore_5F_MapScript2_21FF80: @ 821FF80
map_script_2 VAR_SOOTOPOLIS_CITY_STATE, 1, LilycoveCity_DepartmentStore_5F_EventScript_21FF9A
map_script_2 VAR_SOOTOPOLIS_CITY_STATE, 2, LilycoveCity_DepartmentStore_5F_EventScript_21FF9A
map_script_2 VAR_SOOTOPOLIS_CITY_STATE, 3, LilycoveCity_DepartmentStore_5F_EventScript_21FF9A
@ During the unusual weather from Kyogre/Groudon awakening the dept store rooftop is inaccessible
@ Likely done to avoid dealing with showing the weather. Technically the rooftop is indoors
LilycoveCity_DepartmentStore_5F_OnWarp: @ 821FF80
map_script_2 VAR_SOOTOPOLIS_CITY_STATE, 1, LilycoveCity_DepartmentStore_5F_EventScript_BlockRoofStairs
map_script_2 VAR_SOOTOPOLIS_CITY_STATE, 2, LilycoveCity_DepartmentStore_5F_EventScript_BlockRoofStairs
map_script_2 VAR_SOOTOPOLIS_CITY_STATE, 3, LilycoveCity_DepartmentStore_5F_EventScript_BlockRoofStairs
.2byte 0
LilycoveCity_DepartmentStore_5F_EventScript_21FF9A:: @ 821FF9A
LilycoveCity_DepartmentStore_5F_EventScript_BlockRoofStairs:: @ 821FF9A
setobjectxy 7, 16, 2
turnobject 7, DIR_NORTH
end
LilycoveCity_DepartmentStore_5F_EventScript_21FFA6:: @ 821FFA6
LilycoveCity_DepartmentStore_5F_EventScript_ClerkFarLeft:: @ 821FFA6
lock
faceplayer
message gText_HowMayIServeYou
@@ -41,7 +43,7 @@ LilycoveCity_DepartmentStore_5F_Pokemart_Dolls: @ 821FFC0
release
end
LilycoveCity_DepartmentStore_5F_EventScript_21FFDC:: @ 821FFDC
LilycoveCity_DepartmentStore_5F_EventScript_ClerkMidLeft:: @ 821FFDC
lock
faceplayer
message gText_HowMayIServeYou
@@ -66,7 +68,7 @@ LilycoveCity_DepartmentStore_5F_Pokemart_Cushions: @ 821FFF4
release
end
LilycoveCity_DepartmentStore_5F_EventScript_22000A:: @ 822000A
LilycoveCity_DepartmentStore_5F_EventScript_ClerkMidRight:: @ 822000A
lock
faceplayer
message gText_HowMayIServeYou
@@ -91,7 +93,7 @@ LilycoveCity_DepartmentStore_5F_Pokemart_Posters: @ 8220024
release
end
LilycoveCity_DepartmentStore_5F_EventScript_22003A:: @ 822003A
LilycoveCity_DepartmentStore_5F_EventScript_ClerkFarRight:: @ 822003A
lock
faceplayer
message gText_HowMayIServeYou
@@ -117,53 +119,53 @@ LilycoveCity_DepartmentStore_5F_Pokemart_Mats: @ 8220054
release
end
LilycoveCity_DepartmentStore_5F_EventScript_22006C:: @ 822006C
msgbox LilycoveCity_DepartmentStore_5F_Text_2200C5, MSGBOX_NPC
LilycoveCity_DepartmentStore_5F_EventScript_PokefanF:: @ 822006C
msgbox LilycoveCity_DepartmentStore_5F_Text_PlaceFullOfCuteDolls, MSGBOX_NPC
end
LilycoveCity_DepartmentStore_5F_EventScript_220075:: @ 8220075
LilycoveCity_DepartmentStore_5F_EventScript_Woman:: @ 8220075
lockall
applymovement 7, Common_Movement_FacePlayer
waitmovement 0
compare VAR_SOOTOPOLIS_CITY_STATE, 0
goto_if_eq LilycoveCity_DepartmentStore_5F_EventScript_22009C
goto_if_eq LilycoveCity_DepartmentStore_5F_EventScript_WomanNormal
compare VAR_SOOTOPOLIS_CITY_STATE, 4
goto_if_ge LilycoveCity_DepartmentStore_5F_EventScript_22009C
goto LilycoveCity_DepartmentStore_5F_EventScript_2200A7
goto_if_ge LilycoveCity_DepartmentStore_5F_EventScript_WomanNormal
goto LilycoveCity_DepartmentStore_5F_EventScript_WomanLegendaryWeather
end
LilycoveCity_DepartmentStore_5F_EventScript_22009C:: @ 822009C
msgbox LilycoveCity_DepartmentStore_5F_Text_22016B, MSGBOX_DEFAULT
LilycoveCity_DepartmentStore_5F_EventScript_WomanNormal:: @ 822009C
msgbox LilycoveCity_DepartmentStore_5F_Text_SellManyCuteMatsHere, MSGBOX_DEFAULT
closemessage
releaseall
end
LilycoveCity_DepartmentStore_5F_EventScript_2200A7:: @ 82200A7
msgbox LilycoveCity_DepartmentStore_5F_Text_2201C4, MSGBOX_DEFAULT
LilycoveCity_DepartmentStore_5F_EventScript_WomanLegendaryWeather:: @ 82200A7
msgbox LilycoveCity_DepartmentStore_5F_Text_ClosedRooftopForWeather, MSGBOX_DEFAULT
closemessage
applymovement 7, Common_Movement_WalkInPlaceFastestUp
waitmovement 0
releaseall
end
LilycoveCity_DepartmentStore_5F_EventScript_2200BC:: @ 82200BC
msgbox LilycoveCity_DepartmentStore_5F_Text_220122, MSGBOX_NPC
LilycoveCity_DepartmentStore_5F_EventScript_LittleGirl:: @ 82200BC
msgbox LilycoveCity_DepartmentStore_5F_Text_GettingDollInsteadOfPokemon, MSGBOX_NPC
end
LilycoveCity_DepartmentStore_5F_Text_2200C5: @ 82200C5
LilycoveCity_DepartmentStore_5F_Text_PlaceFullOfCuteDolls: @ 82200C5
.string "This place is full of cute DOLLS.\p"
.string "I should buy some for me, instead of\n"
.string "just for my children.$"
LilycoveCity_DepartmentStore_5F_Text_220122: @ 8220122
LilycoveCity_DepartmentStore_5F_Text_GettingDollInsteadOfPokemon: @ 8220122
.string "I'm not big enough to raise POKéMON,\n"
.string "so I'm getting a cute DOLL instead.$"
LilycoveCity_DepartmentStore_5F_Text_22016B: @ 822016B
LilycoveCity_DepartmentStore_5F_Text_SellManyCuteMatsHere: @ 822016B
.string "They sell many cute MATS here.\p"
.string "I wonder which one I should get?\n"
.string "Maybe I'll buy them all…$"
LilycoveCity_DepartmentStore_5F_Text_2201C4: @ 82201C4
LilycoveCity_DepartmentStore_5F_Text_ClosedRooftopForWeather: @ 82201C4
.string "I think they closed the rooftop\n"
.string "because the weather is wild today.$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_PokemonCenter_1F_EventScript_21C5E8",
"script": "LilycoveCity_PokemonCenter_1F_EventScript_Nurse",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_PokemonCenter_1F_EventScript_21C5F6",
"script": "LilycoveCity_PokemonCenter_1F_EventScript_Boy",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_PokemonCenter_1F_EventScript_21C5FF",
"script": "LilycoveCity_PokemonCenter_1F_EventScript_Maniac",
"flag": "0"
},
{
@@ -77,7 +77,7 @@
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_PokemonCenter_1F_EventScript_ContestLadyMon",
"flag": "FLAG_HIDE_LILYCOVE_POKEMON_CENTER_LADY"
"flag": "FLAG_HIDE_LILYCOVE_POKEMON_CENTER_CONTEST_LADY_MON"
}
],
"warp_events": [

View File

@@ -5,26 +5,28 @@ LilycoveCity_PokemonCenter_1F_MapScripts:: @ 821C5B2
LilycoveCity_PokemonCenter_1F_OnTransition: @ 821C5BD
setrespawn HEAL_LOCATION_LILYCOVE_CITY
goto LilycoveCity_PokemonCenter_1F_EventScript_21C5C6
goto LilycoveCity_PokemonCenter_1F_EventScript_SetLilycoveLadyGfx
end
LilycoveCity_PokemonCenter_1F_EventScript_21C5C6:: @ 821C5C6
@ SetLilycoveLadyGfx returns TRUE if its the Contest Lady
LilycoveCity_PokemonCenter_1F_EventScript_SetLilycoveLadyGfx:: @ 821C5C6
special SetLilycoveLadyGfx
compare VAR_RESULT, 0
goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_21C5E0
compare VAR_RESULT, 1
goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_21C5E4
compare VAR_RESULT, FALSE
goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_HideContestLadyMon
compare VAR_RESULT, TRUE
goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_ShowContestLadyMon
end
LilycoveCity_PokemonCenter_1F_EventScript_21C5E0:: @ 821C5E0
setflag FLAG_HIDE_LILYCOVE_POKEMON_CENTER_LADY
LilycoveCity_PokemonCenter_1F_EventScript_HideContestLadyMon:: @ 821C5E0
setflag FLAG_HIDE_LILYCOVE_POKEMON_CENTER_CONTEST_LADY_MON
end
LilycoveCity_PokemonCenter_1F_EventScript_21C5E4:: @ 821C5E4
clearflag FLAG_HIDE_LILYCOVE_POKEMON_CENTER_LADY
LilycoveCity_PokemonCenter_1F_EventScript_ShowContestLadyMon:: @ 821C5E4
clearflag FLAG_HIDE_LILYCOVE_POKEMON_CENTER_CONTEST_LADY_MON
end
LilycoveCity_PokemonCenter_1F_EventScript_21C5E8:: @ 821C5E8
@ VAR_0x800B is the Nurse's object event id
LilycoveCity_PokemonCenter_1F_EventScript_Nurse:: @ 821C5E8
setvar VAR_0x800B, 1
call Common_EventScript_PkmnCenterNurse
waitmessage
@@ -32,35 +34,35 @@ LilycoveCity_PokemonCenter_1F_EventScript_21C5E8:: @ 821C5E8
release
end
LilycoveCity_PokemonCenter_1F_EventScript_21C5F6:: @ 821C5F6
msgbox LilycoveCity_PokemonCenter_1F_Text_21C61E, MSGBOX_NPC
LilycoveCity_PokemonCenter_1F_EventScript_Boy:: @ 821C5F6
msgbox LilycoveCity_PokemonCenter_1F_Text_HowManyKindsOfPokemon, MSGBOX_NPC
end
LilycoveCity_PokemonCenter_1F_EventScript_21C5FF:: @ 821C5FF
LilycoveCity_PokemonCenter_1F_EventScript_Maniac:: @ 821C5FF
lock
faceplayer
goto_if_set FLAG_BADGE07_GET, LilycoveCity_PokemonCenter_1F_EventScript_21C614
msgbox LilycoveCity_PokemonCenter_1F_Text_21C69D, MSGBOX_DEFAULT
goto_if_set FLAG_BADGE07_GET, LilycoveCity_PokemonCenter_1F_EventScript_ManiacBadTeamGone
msgbox LilycoveCity_PokemonCenter_1F_Text_HeardAboutRottenScoundrels, MSGBOX_DEFAULT
release
end
LilycoveCity_PokemonCenter_1F_EventScript_21C614:: @ 821C614
msgbox LilycoveCity_PokemonCenter_1F_Text_21C6F6, MSGBOX_DEFAULT
LilycoveCity_PokemonCenter_1F_EventScript_ManiacBadTeamGone:: @ 821C614
msgbox LilycoveCity_PokemonCenter_1F_Text_HaventSeenRottenScoundrels, MSGBOX_DEFAULT
release
end
LilycoveCity_PokemonCenter_1F_Text_21C61E: @ 821C61E
LilycoveCity_PokemonCenter_1F_Text_HowManyKindsOfPokemon: @ 821C61E
.string "I wonder how many kinds of POKéMON\n"
.string "there are in the world.\p"
.string "It'd be great to cross seas and\n"
.string "trade POKéMON with people far away.$"
LilycoveCity_PokemonCenter_1F_Text_21C69D: @ 821C69D
LilycoveCity_PokemonCenter_1F_Text_HeardAboutRottenScoundrels: @ 821C69D
.string "I've been hearing about some rotten\n"
.string "scoundrels who steal POKéMON and rip\l"
.string "off METEORITES.$"
LilycoveCity_PokemonCenter_1F_Text_21C6F6: @ 821C6F6
LilycoveCity_PokemonCenter_1F_Text_HaventSeenRottenScoundrels: @ 821C6F6
.string "Those rotten scoundrels who steal\n"
.string "POKéMON and rip off METEORITES…\p"
.string "I haven't seen them around recently.$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
"script": "MagmaHideout_1F_EventScript_Grunt38",
"script": "MagmaHideout_1F_EventScript_Grunt1",
"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_Grunt39",
"script": "MagmaHideout_1F_EventScript_Grunt2",
"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_Grunt38:: @ 823988C
trainerbattle_single TRAINER_GRUNT_38, MagmaHideout_1F_Text_Grunt38Intro, MagmaHideout_1F_Text_Grunt38Defeat
msgbox MagmaHideout_1F_Text_Grunt38PostBattle, MSGBOX_AUTOCLOSE
MagmaHideout_1F_EventScript_Grunt1:: @ 823988C
trainerbattle_single TRAINER_GRUNT_MAGMA_HIDEOUT_1, MagmaHideout_1F_Text_Grunt1Intro, MagmaHideout_1F_Text_Grunt1Defeat
msgbox MagmaHideout_1F_Text_Grunt1PostBattle, MSGBOX_AUTOCLOSE
end
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
MagmaHideout_1F_EventScript_Grunt2:: @ 82398A3
trainerbattle_single TRAINER_GRUNT_MAGMA_HIDEOUT_2, MagmaHideout_1F_Text_Grunt2Intro, MagmaHideout_1F_Text_Grunt2Defeat
msgbox MagmaHideout_1F_Text_Grunt2PostBattle, MSGBOX_AUTOCLOSE
end
MagmaHideout_1F_Text_Grunt38Intro: @ 82398BA
MagmaHideout_1F_Text_Grunt1Intro: @ 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_Grunt38Defeat: @ 8239964
MagmaHideout_1F_Text_Grunt1Defeat: @ 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_Grunt38PostBattle: @ 82399B1
MagmaHideout_1F_Text_Grunt1PostBattle: @ 82399B1
.string "Okay, I'll try to put a little more\n"
.string "effort into things from now on…$"
MagmaHideout_1F_Text_Grunt39Intro: @ 82399F5
MagmaHideout_1F_Text_Grunt2Intro: @ 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_Grunt39Intro: @ 82399F5
.string "Fuhahaha!\n"
.string "I'll tell you if you beat me!$"
MagmaHideout_1F_Text_Grunt39Defeat: @ 8239ABA
MagmaHideout_1F_Text_Grunt2Defeat: @ 8239ABA
.string "Arrgh!\n"
.string "Taken down!$"
MagmaHideout_1F_Text_Grunt39PostBattle: @ 8239ACD
MagmaHideout_1F_Text_Grunt2PostBattle: @ 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_Grunt41",
"script": "MagmaHideout_2F_1R_EventScript_Grunt4",
"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_Grunt42",
"script": "MagmaHideout_2F_1R_EventScript_Grunt5",
"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_Grunt51",
"script": "MagmaHideout_2F_1R_EventScript_Grunt14",
"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_Grunt40",
"script": "MagmaHideout_2F_1R_EventScript_Grunt3",
"flag": "FLAG_HIDE_MAGMA_HIDEOUT_GRUNTS"
}
],

View File

@@ -1,27 +1,27 @@
MagmaHideout_2F_1R_MapScripts:: @ 8239B50
.byte 0
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
MagmaHideout_2F_1R_EventScript_Grunt14:: @ 8239B51
trainerbattle_single TRAINER_GRUNT_MAGMA_HIDEOUT_14, MagmaHideout_2F_1R_Text_Grunt14Intro, MagmaHideout_2F_1R_Text_Grunt14Defeat
msgbox MagmaHideout_2F_1R_Text_Grunt14PostBattle, MSGBOX_AUTOCLOSE
end
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
MagmaHideout_2F_1R_EventScript_Grunt3:: @ 8239B68
trainerbattle_single TRAINER_GRUNT_MAGMA_HIDEOUT_3, MagmaHideout_2F_1R_Text_Grunt3Intro, MagmaHideout_2F_1R_Text_Grunt3Defeat
msgbox MagmaHideout_2F_1R_Text_Grunt3PostBattle, MSGBOX_AUTOCLOSE
end
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
MagmaHideout_2F_1R_EventScript_Grunt4:: @ 8239B7F
trainerbattle_single TRAINER_GRUNT_MAGMA_HIDEOUT_4, MagmaHideout_2F_1R_Text_Grunt4Intro, MagmaHideout_2F_1R_Text_Grunt4Defeat
msgbox MagmaHideout_2F_1R_Text_Grunt4PostBattle, MSGBOX_AUTOCLOSE
end
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
MagmaHideout_2F_1R_EventScript_Grunt5:: @ 8239B96
trainerbattle_single TRAINER_GRUNT_MAGMA_HIDEOUT_5, MagmaHideout_2F_1R_Text_Grunt5Intro, MagmaHideout_2F_1R_Text_Grunt5Defeat
msgbox MagmaHideout_2F_1R_Text_Grunt5PostBattle, MSGBOX_AUTOCLOSE
end
MagmaHideout_2F_1R_Text_Grunt51Intro: @ 8239BAD
MagmaHideout_2F_1R_Text_Grunt14Intro: @ 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_Grunt51Intro: @ 8239BAD
.string "You rouse my suspicion!\n"
.string "Battle with me!$"
MagmaHideout_2F_1R_Text_Grunt51Defeat: @ 8239C4B
MagmaHideout_2F_1R_Text_Grunt14Defeat: @ 8239C4B
.string "Aiyiyi…\n"
.string "My pride as a TEAM MAGMA member…$"
MagmaHideout_2F_1R_Text_Grunt51PostBattle: @ 8239C74
MagmaHideout_2F_1R_Text_Grunt14PostBattle: @ 8239C74
.string "If you suffer from chills, you should\n"
.string "join TEAM MAGMA.$"
MagmaHideout_2F_1R_Text_Grunt40Intro: @ 8239CAB
MagmaHideout_2F_1R_Text_Grunt3Intro: @ 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_Grunt40Defeat: @ 8239D09
MagmaHideout_2F_1R_Text_Grunt3Defeat: @ 8239D09
.string "Ooh wow!\n"
.string "I concede!$"
MagmaHideout_2F_1R_Text_Grunt40PostBattle: @ 8239D1D
MagmaHideout_2F_1R_Text_Grunt3PostBattle: @ 8239D1D
.string "Maybe it would've been better if I did\n"
.string "just let you go unchallenged…$"
MagmaHideout_2F_1R_Text_Grunt41Intro: @ 8239D62
MagmaHideout_2F_1R_Text_Grunt4Intro: @ 8239D62
.string "Ahah!\n"
.string "An intruder!$"
MagmaHideout_2F_1R_Text_Grunt41Defeat: @ 8239D75
MagmaHideout_2F_1R_Text_Grunt4Defeat: @ 8239D75
.string "Graaah!$"
MagmaHideout_2F_1R_Text_Grunt41PostBattle: @ 8239D7D
MagmaHideout_2F_1R_Text_Grunt4PostBattle: @ 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_Grunt42Intro: @ 8239DC5
MagmaHideout_2F_1R_Text_Grunt5Intro: @ 8239DC5
.string "Oh, oh!\n"
.string "An intruder!$"
MagmaHideout_2F_1R_Text_Grunt42Defeat: @ 8239DDA
MagmaHideout_2F_1R_Text_Grunt5Defeat: @ 8239DDA
.string "Mutter…$"
MagmaHideout_2F_1R_Text_Grunt42PostBattle: @ 8239DE2
MagmaHideout_2F_1R_Text_Grunt5PostBattle: @ 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_Grunt45",
"script": "MagmaHideout_2F_2R_EventScript_Grunt8",
"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_Grunt44",
"script": "MagmaHideout_2F_2R_EventScript_Grunt7",
"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_Grunt43",
"script": "MagmaHideout_2F_2R_EventScript_Grunt6",
"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_Grunt52",
"script": "MagmaHideout_2F_2R_EventScript_Grunt15",
"flag": "FLAG_HIDE_MAGMA_HIDEOUT_GRUNTS"
},
{

View File

@@ -1,78 +1,78 @@
MagmaHideout_2F_2R_MapScripts:: @ 8239E07
.byte 0
MagmaHideout_2F_2R_EventScript_Grunt52:: @ 8239E08
trainerbattle_single TRAINER_GRUNT_52, MagmaHideout_2F_2R_Text_Grunt52Intro, MagmaHideout_2F_2R_Text_Grunt52Defeat
msgbox MagmaHideout_2F_2R_Text_Grunt52PostBattle, MSGBOX_AUTOCLOSE
MagmaHideout_2F_2R_EventScript_Grunt15:: @ 8239E08
trainerbattle_single TRAINER_GRUNT_MAGMA_HIDEOUT_15, MagmaHideout_2F_2R_Text_Grunt15Intro, MagmaHideout_2F_2R_Text_Grunt15Defeat
msgbox MagmaHideout_2F_2R_Text_Grunt15PostBattle, MSGBOX_AUTOCLOSE
end
MagmaHideout_2F_2R_EventScript_Grunt43:: @ 8239E1F
trainerbattle_single TRAINER_GRUNT_43, MagmaHideout_2F_2R_Text_Grunt43Intro, MagmaHideout_2F_2R_Text_Grunt43Defeat
msgbox MagmaHideout_2F_2R_Text_Grunt43PostBattle, MSGBOX_AUTOCLOSE
MagmaHideout_2F_2R_EventScript_Grunt6:: @ 8239E1F
trainerbattle_single TRAINER_GRUNT_MAGMA_HIDEOUT_6, MagmaHideout_2F_2R_Text_Grunt6Intro, MagmaHideout_2F_2R_Text_Grunt6Defeat
msgbox MagmaHideout_2F_2R_Text_Grunt6PostBattle, MSGBOX_AUTOCLOSE
end
MagmaHideout_2F_2R_EventScript_Grunt44:: @ 8239E36
trainerbattle_single TRAINER_GRUNT_44, MagmaHideout_2F_2R_Text_Grunt44Intro, MagmaHideout_2F_2R_Text_Grunt44Defeat
msgbox MagmaHideout_2F_2R_Text_Grunt44PostBattle, MSGBOX_AUTOCLOSE
MagmaHideout_2F_2R_EventScript_Grunt7:: @ 8239E36
trainerbattle_single TRAINER_GRUNT_MAGMA_HIDEOUT_7, MagmaHideout_2F_2R_Text_Grunt7Intro, MagmaHideout_2F_2R_Text_Grunt7Defeat
msgbox MagmaHideout_2F_2R_Text_Grunt7PostBattle, MSGBOX_AUTOCLOSE
end
MagmaHideout_2F_2R_EventScript_Grunt45:: @ 8239E4D
trainerbattle_single TRAINER_GRUNT_45, MagmaHideout_2F_2R_Text_Grunt45Intro, MagmaHideout_2F_2R_Text_Grunt45Defeat
msgbox MagmaHideout_2F_2R_Text_Grunt45PostBattle, MSGBOX_AUTOCLOSE
MagmaHideout_2F_2R_EventScript_Grunt8:: @ 8239E4D
trainerbattle_single TRAINER_GRUNT_MAGMA_HIDEOUT_8, MagmaHideout_2F_2R_Text_Grunt8Intro, MagmaHideout_2F_2R_Text_Grunt8Defeat
msgbox MagmaHideout_2F_2R_Text_Grunt8PostBattle, MSGBOX_AUTOCLOSE
end
MagmaHideout_2F_2R_Text_Grunt52Intro: @ 8239E64
MagmaHideout_2F_2R_Text_Grunt15Intro: @ 8239E64
.string "I don't have a bone to pick with you.\n"
.string "I'm just following orders!$"
MagmaHideout_2F_2R_Text_Grunt52Defeat: @ 8239EA5
MagmaHideout_2F_2R_Text_Grunt15Defeat: @ 8239EA5
.string "I may have lost, but…$"
MagmaHideout_2F_2R_Text_Grunt52PostBattle: @ 8239EBB
MagmaHideout_2F_2R_Text_Grunt15PostBattle: @ 8239EBB
.string "We dug up something beyond belief!\n"
.string "And, we got the BLUE ORB!\p"
.string "All that's left is for our leader to…\n"
.string "Fufufu… Fwahahaha!$"
MagmaHideout_2F_2R_Text_Grunt43Intro: @ 8239F31
MagmaHideout_2F_2R_Text_Grunt6Intro: @ 8239F31
.string "I can't stand heat. Maybe I should've\n"
.string "joined TEAM AQUA instead…$"
MagmaHideout_2F_2R_Text_Grunt43Defeat: @ 8239F71
MagmaHideout_2F_2R_Text_Grunt6Defeat: @ 8239F71
.string "Yeah, I really may not be right for\n"
.string "TEAM MAGMA…$"
MagmaHideout_2F_2R_Text_Grunt43PostBattle: @ 8239FA1
MagmaHideout_2F_2R_Text_Grunt6PostBattle: @ 8239FA1
.string "Don't you get lonely for the sea\n"
.string "being in a place like this?$"
MagmaHideout_2F_2R_Text_Grunt44Intro: @ 8239FDE
MagmaHideout_2F_2R_Text_Grunt7Intro: @ 8239FDE
.string "You can hear tremors here sometimes.\p"
.string "Could it be the volcano rattling?\n"
.string "Or is it GROU…\p"
.string "Whoops!\n"
.string "No, no, never mind!$"
MagmaHideout_2F_2R_Text_Grunt44Defeat: @ 823A050
MagmaHideout_2F_2R_Text_Grunt7Defeat: @ 823A050
.string "You're a fiery battler.\n"
.string "Just like a volcano!$"
MagmaHideout_2F_2R_Text_Grunt44PostBattle: @ 823A07D
MagmaHideout_2F_2R_Text_Grunt7PostBattle: @ 823A07D
.string "You just happened to win this time,\n"
.string "but that doesn't matter.\p"
.string "TEAM MAGMA's goal is about to be\n"
.string "reached!$"
MagmaHideout_2F_2R_Text_Grunt45Intro: @ 823A0E4
MagmaHideout_2F_2R_Text_Grunt8Intro: @ 823A0E4
.string "One of our guys was freaking out that\n"
.string "he lost his MAGMA EMBLEM…\p"
.string "Wait a minute!\n"
.string "Was it you who found it?$"
MagmaHideout_2F_2R_Text_Grunt45Defeat: @ 823A14C
MagmaHideout_2F_2R_Text_Grunt8Defeat: @ 823A14C
.string "I'm having trouble believing this…$"
MagmaHideout_2F_2R_Text_Grunt45PostBattle: @ 823A16F
MagmaHideout_2F_2R_Text_Grunt8PostBattle: @ 823A16F
.string "I'm getting this feeling that our plan\n"
.string "is going to end in failure…$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "5",
"script": "MagmaHideout_3F_1R_EventScript_Grunt46",
"script": "MagmaHideout_3F_1R_EventScript_Grunt9",
"flag": "FLAG_HIDE_MAGMA_HIDEOUT_GRUNTS"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
"script": "MagmaHideout_3F_1R_EventScript_Grunt53",
"script": "MagmaHideout_3F_1R_EventScript_Grunt16",
"flag": "FLAG_HIDE_MAGMA_HIDEOUT_GRUNTS"
},
{

View File

@@ -1,29 +1,29 @@
MagmaHideout_3F_1R_MapScripts:: @ 823A1B2
.byte 0
MagmaHideout_3F_1R_EventScript_Grunt46:: @ 823A1B3
trainerbattle_single TRAINER_GRUNT_46, MagmaHideout_3F_1R_Text_Grunt46Intro, MagmaHideout_3F_1R_Text_Grunt46Defeat
msgbox MagmaHideout_3F_1R_Text_Grunt46PostBattle, MSGBOX_AUTOCLOSE
MagmaHideout_3F_1R_EventScript_Grunt9:: @ 823A1B3
trainerbattle_single TRAINER_GRUNT_MAGMA_HIDEOUT_9, MagmaHideout_3F_1R_Text_Grunt9Intro, MagmaHideout_3F_1R_Text_Grunt9Defeat
msgbox MagmaHideout_3F_1R_Text_Grunt9PostBattle, MSGBOX_AUTOCLOSE
end
MagmaHideout_3F_1R_EventScript_Grunt53:: @ 823A1CA
trainerbattle_single TRAINER_GRUNT_53, MagmaHideout_3F_1R_Text_Grunt53Intro, MagmaHideout_3F_1R_Text_Grunt53Defeat
msgbox MagmaHideout_3F_1R_Text_Grunt53PostBattle, MSGBOX_AUTOCLOSE
MagmaHideout_3F_1R_EventScript_Grunt16:: @ 823A1CA
trainerbattle_single TRAINER_GRUNT_MAGMA_HIDEOUT_16, MagmaHideout_3F_1R_Text_Grunt16Intro, MagmaHideout_3F_1R_Text_Grunt16Defeat
msgbox MagmaHideout_3F_1R_Text_Grunt16PostBattle, MSGBOX_AUTOCLOSE
end
MagmaHideout_3F_1R_Text_Grunt46Intro: @ 823A1E1
MagmaHideout_3F_1R_Text_Grunt9Intro: @ 823A1E1
.string "What did I do to deserve this guard\n"
.string "posting?\p"
.string "My left ear is burning up!$"
MagmaHideout_3F_1R_Text_Grunt46Defeat: @ 823A229
MagmaHideout_3F_1R_Text_Grunt9Defeat: @ 823A229
.string "I'm getting heat exhaustion…$"
MagmaHideout_3F_1R_Text_Grunt46PostBattle: @ 823A246
MagmaHideout_3F_1R_Text_Grunt9PostBattle: @ 823A246
.string "Do you think it's odd that we're wearing\n"
.string "hoods in this magma-filled volcano?$"
MagmaHideout_3F_1R_Text_Grunt53Intro: @ 823A293
MagmaHideout_3F_1R_Text_Grunt16Intro: @ 823A293
.string "We joined so we can help our leader\n"
.string "achieve his fantastic vision.\p"
.string "I don't care if you're with TEAM AQUA\n"
@@ -31,11 +31,11 @@ MagmaHideout_3F_1R_Text_Grunt53Intro: @ 823A293
.string "No one interferes with us and gets\n"
.string "away with it!$"
MagmaHideout_3F_1R_Text_Grunt53Defeat: @ 823A353
MagmaHideout_3F_1R_Text_Grunt16Defeat: @ 823A353
.string "Oh, no!\n"
.string "You're not to be trusted at all!$"
MagmaHideout_3F_1R_Text_Grunt53PostBattle: @ 823A37C
MagmaHideout_3F_1R_Text_Grunt16PostBattle: @ 823A37C
.string "Listen to me.\n"
.string "TEAM MAGMA is right!\p"
.string "Don't listen to TEAM AQUA.\n"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "MagmaHideout_3F_2R_EventScript_Grunt47",
"script": "MagmaHideout_3F_2R_EventScript_Grunt10",
"flag": "FLAG_HIDE_MAGMA_HIDEOUT_GRUNTS"
},
{

View File

@@ -1,12 +1,12 @@
MagmaHideout_3F_2R_MapScripts:: @ 823A3D4
.byte 0
MagmaHideout_3F_2R_EventScript_Grunt47:: @ 823A3D5
trainerbattle_single TRAINER_GRUNT_47, MagmaHideout_3F_2R_Text_Grunt47Intro, MagmaHideout_3F_2R_Text_Grunt47Defeat
msgbox MagmaHideout_3F_2R_Text_Grunt47PostBattle, MSGBOX_AUTOCLOSE
MagmaHideout_3F_2R_EventScript_Grunt10:: @ 823A3D5
trainerbattle_single TRAINER_GRUNT_MAGMA_HIDEOUT_10, MagmaHideout_3F_2R_Text_Grunt10Intro, MagmaHideout_3F_2R_Text_Grunt10Defeat
msgbox MagmaHideout_3F_2R_Text_Grunt10PostBattle, MSGBOX_AUTOCLOSE
end
MagmaHideout_3F_2R_Text_Grunt47Intro: @ 823A3EC
MagmaHideout_3F_2R_Text_Grunt10Intro: @ 823A3EC
.string "I understand everything our leader\n"
.string "says. But you know what?\p"
.string "Doing stuff like digging up a super-\n"
@@ -15,11 +15,11 @@ MagmaHideout_3F_2R_Text_Grunt47Intro: @ 823A3EC
.string "I think we're going a little too far.\n"
.string "What do you think?$"
MagmaHideout_3F_2R_Text_Grunt47Defeat: @ 823A4BB
MagmaHideout_3F_2R_Text_Grunt10Defeat: @ 823A4BB
.string "Yeah, I think we are doing something\n"
.string "wrong somehow.$"
MagmaHideout_3F_2R_Text_Grunt47PostBattle: @ 823A4EF
MagmaHideout_3F_2R_Text_Grunt10PostBattle: @ 823A4EF
.string "You know, losing to you cleared my mind.\p"
.string "The next time I see our leader,\n"
.string "I'm going to ask him about what we do.$"

View File

@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "MagmaHideout_4F_EventScript_Grunt48",
"script": "MagmaHideout_4F_EventScript_Grunt11",
"flag": "FLAG_HIDE_MAGMA_HIDEOUT_GRUNTS"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "MagmaHideout_4F_EventScript_Grunt49",
"script": "MagmaHideout_4F_EventScript_Grunt12",
"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_4F_EventScript_Grunt50",
"script": "MagmaHideout_4F_EventScript_Grunt13",
"flag": "FLAG_HIDE_MAGMA_HIDEOUT_GRUNTS"
},
{

View File

@@ -108,19 +108,19 @@ MagmaHideout_4F_Movement_MaxieLookAround: @ 823A680
delay_16
step_end
MagmaHideout_4F_EventScript_Grunt48:: @ 823A68C
trainerbattle_single TRAINER_GRUNT_48, MagmaHideout_4F_Text_Grunt48Intro, MagmaHideout_4F_Text_Grunt48Defeat
msgbox MagmaHideout_4F_Text_Grunt48PostBattle, MSGBOX_AUTOCLOSE
MagmaHideout_4F_EventScript_Grunt11:: @ 823A68C
trainerbattle_single TRAINER_GRUNT_MAGMA_HIDEOUT_11, MagmaHideout_4F_Text_Grunt11Intro, MagmaHideout_4F_Text_Grunt11Defeat
msgbox MagmaHideout_4F_Text_Grunt11PostBattle, MSGBOX_AUTOCLOSE
end
MagmaHideout_4F_EventScript_Grunt49:: @ 823A6A3
trainerbattle_single TRAINER_GRUNT_49, MagmaHideout_4F_Text_Grunt49Intro, MagmaHideout_4F_Text_Grunt49Defeat
msgbox MagmaHideout_4F_Text_Grunt49PostBattle, MSGBOX_AUTOCLOSE
MagmaHideout_4F_EventScript_Grunt12:: @ 823A6A3
trainerbattle_single TRAINER_GRUNT_MAGMA_HIDEOUT_12, MagmaHideout_4F_Text_Grunt12Intro, MagmaHideout_4F_Text_Grunt12Defeat
msgbox MagmaHideout_4F_Text_Grunt12PostBattle, MSGBOX_AUTOCLOSE
end
MagmaHideout_4F_EventScript_Grunt50:: @ 823A6BA
trainerbattle_single TRAINER_GRUNT_50, MagmaHideout_4F_Text_Grunt50Intro, MagmaHideout_4F_Text_Grunt50Defeat
msgbox MagmaHideout_4F_Text_Grunt50PostBattle, MSGBOX_AUTOCLOSE
MagmaHideout_4F_EventScript_Grunt13:: @ 823A6BA
trainerbattle_single TRAINER_GRUNT_MAGMA_HIDEOUT_13, MagmaHideout_4F_Text_Grunt13Intro, MagmaHideout_4F_Text_Grunt13Defeat
msgbox MagmaHideout_4F_Text_Grunt13PostBattle, MSGBOX_AUTOCLOSE
end
MagmaHideout_4F_EventScript_Tabitha:: @ 823A6D1
@@ -128,41 +128,41 @@ MagmaHideout_4F_EventScript_Tabitha:: @ 823A6D1
msgbox MagmaHideout_4F_Text_TabithaPostBattle, MSGBOX_AUTOCLOSE
end
MagmaHideout_4F_Text_Grunt48Intro: @ 823A6E8
MagmaHideout_4F_Text_Grunt11Intro: @ 823A6E8
.string "I want to see GROUDON, too, but they\n"
.string "won't let me see even its tail…\p"
.string "It's got me feeling really frustrated.\p"
.string "Oh, no!\n"
.string "I blabbed about GROUDON!$"
MagmaHideout_4F_Text_Grunt48Defeat: @ 823A775
MagmaHideout_4F_Text_Grunt11Defeat: @ 823A775
.string "I guess it's impossible to win if one\n"
.string "doesn't have a calm mind…$"
MagmaHideout_4F_Text_Grunt48PostBattle: @ 823A7B5
MagmaHideout_4F_Text_Grunt11PostBattle: @ 823A7B5
.string "I wonder if GROUDON even has a tail?$"
MagmaHideout_4F_Text_Grunt49Intro: @ 823A7DA
MagmaHideout_4F_Text_Grunt12Intro: @ 823A7DA
.string "Fuhahaha!\n"
.string "Soon! Very soon!\l"
.string "Our grand objective will be achieved!$"
MagmaHideout_4F_Text_Grunt49Defeat: @ 823A81B
MagmaHideout_4F_Text_Grunt12Defeat: @ 823A81B
.string "Grrr…\n"
.string "I've come so far, but now this?$"
MagmaHideout_4F_Text_Grunt49PostBattle: @ 823A841
MagmaHideout_4F_Text_Grunt12PostBattle: @ 823A841
.string "MAXIE, sir!\n"
.string "An intruder is headed your way!$"
MagmaHideout_4F_Text_Grunt50Intro: @ 823A86D
MagmaHideout_4F_Text_Grunt13Intro: @ 823A86D
.string "You're not finished yet!\n"
.string "You're not getting by me easily!$"
MagmaHideout_4F_Text_Grunt50Defeat: @ 823A8A7
MagmaHideout_4F_Text_Grunt13Defeat: @ 823A8A7
.string "Was I that easy to knock down?$"
MagmaHideout_4F_Text_Grunt50PostBattle: @ 823A8C6
MagmaHideout_4F_Text_Grunt13PostBattle: @ 823A8C6
.string "C-come on, one more match…$"
MagmaHideout_4F_Text_TabithaIntro: @ 823A8E1

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_Mart_EventScript_2110E6",
"script": "MauvilleCity_Mart_EventScript_Clerk",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_Mart_EventScript_21111C",
"script": "MauvilleCity_Mart_EventScript_ExpertM",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_Mart_EventScript_211125",
"script": "MauvilleCity_Mart_EventScript_Man",
"flag": "0"
}
],

View File

@@ -1,18 +1,18 @@
MauvilleCity_Mart_MapScripts:: @ 82110E5
.byte 0
MauvilleCity_Mart_EventScript_2110E6:: @ 82110E6
MauvilleCity_Mart_EventScript_Clerk:: @ 82110E6
lock
faceplayer
message gText_HowMayIServeYou
waitmessage
pokemart MauvilleCity_Mart_Pokemart_211100
pokemart MauvilleCity_Mart_Pokemart
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
.align 2
MauvilleCity_Mart_Pokemart_211100: @ 8211100
MauvilleCity_Mart_Pokemart: @ 8211100
.2byte ITEM_POKE_BALL
.2byte ITEM_GREAT_BALL
.2byte ITEM_SUPER_POTION
@@ -29,15 +29,15 @@ MauvilleCity_Mart_Pokemart_211100: @ 8211100
release
end
MauvilleCity_Mart_EventScript_21111C:: @ 821111C
msgbox MauvilleCity_Mart_Text_21112E, MSGBOX_NPC
MauvilleCity_Mart_EventScript_ExpertM:: @ 821111C
msgbox MauvilleCity_Mart_Text_ItemsToTemporarilyElevateStats, MSGBOX_NPC
end
MauvilleCity_Mart_EventScript_211125:: @ 8211125
msgbox MauvilleCity_Mart_Text_2111D8, MSGBOX_NPC
MauvilleCity_Mart_EventScript_Man:: @ 8211125
msgbox MauvilleCity_Mart_Text_DecisionsDetermineBattle, MSGBOX_NPC
end
MauvilleCity_Mart_Text_21112E: @ 821112E
MauvilleCity_Mart_Text_ItemsToTemporarilyElevateStats: @ 821112E
.string "There are items that temporarily\n"
.string "elevate the stats of POKéMON.\p"
.string "The ones I know you use in battle\n"
@@ -45,7 +45,7 @@ MauvilleCity_Mart_Text_21112E: @ 821112E
.string "I do believe that there are others\n"
.string "like them.$"
MauvilleCity_Mart_Text_2111D8: @ 82111D8
MauvilleCity_Mart_Text_DecisionsDetermineBattle: @ 82111D8
.string "Use a certain move, or use an item\n"
.string "instead…\p"
.string "The TRAINER's decisions determine how\n"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_PokemonCenter_1F_EventScript_210E78",
"script": "MauvilleCity_PokemonCenter_1F_EventScript_Nurse",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_PokemonCenter_1F_EventScript_210E86",
"script": "MauvilleCity_PokemonCenter_1F_EventScript_Woman1",
"flag": "0"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_PokemonCenter_1F_EventScript_210E8F",
"script": "MauvilleCity_PokemonCenter_1F_EventScript_Woman2",
"flag": "0"
},
{
@@ -76,7 +76,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "MauvilleCity_PokemonCenter_1F_EventScript_210E98",
"script": "MauvilleCity_PokemonCenter_1F_EventScript_Youngster",
"flag": "0"
}
],

View File

@@ -6,14 +6,15 @@ MauvilleCity_PokemonCenter_1F_MapScripts:: @ 8210E5B
MauvilleCity_PokemonCenter_1F_OnTransition: @ 8210E66
setrespawn HEAL_LOCATION_MAUVILLE_CITY
call Common_EventScript_UpdateBrineyLocation
goto MauvilleCity_PokemonCenter_1F_EventScript_210E74
goto MauvilleCity_PokemonCenter_1F_EventScript_SetMauvilleOldManGfx
end
MauvilleCity_PokemonCenter_1F_EventScript_210E74:: @ 8210E74
MauvilleCity_PokemonCenter_1F_EventScript_SetMauvilleOldManGfx:: @ 8210E74
special ScrSpecial_SetMauvilleOldManEventObjGfx
end
MauvilleCity_PokemonCenter_1F_EventScript_210E78:: @ 8210E78
@ VAR_0x800B is the Nurse's object event id
MauvilleCity_PokemonCenter_1F_EventScript_Nurse:: @ 8210E78
setvar VAR_0x800B, 1
call Common_EventScript_PkmnCenterNurse
waitmessage
@@ -21,32 +22,32 @@ MauvilleCity_PokemonCenter_1F_EventScript_210E78:: @ 8210E78
release
end
MauvilleCity_PokemonCenter_1F_EventScript_210E86:: @ 8210E86
msgbox MauvilleCity_PokemonCenter_1F_Text_210EA1, MSGBOX_NPC
MauvilleCity_PokemonCenter_1F_EventScript_Woman1:: @ 8210E86
msgbox MauvilleCity_PokemonCenter_1F_Text_ManOverThereSaysWeirdThings, MSGBOX_NPC
end
MauvilleCity_PokemonCenter_1F_EventScript_210E8F:: @ 8210E8F
msgbox MauvilleCity_PokemonCenter_1F_Text_210F06, MSGBOX_NPC
MauvilleCity_PokemonCenter_1F_EventScript_Woman2:: @ 8210E8F
msgbox MauvilleCity_PokemonCenter_1F_Text_MyDataUpdatedFromRecordCorner, MSGBOX_NPC
end
MauvilleCity_PokemonCenter_1F_EventScript_210E98:: @ 8210E98
msgbox MauvilleCity_PokemonCenter_1F_Text_210F8A, MSGBOX_NPC
MauvilleCity_PokemonCenter_1F_EventScript_Youngster:: @ 8210E98
msgbox MauvilleCity_PokemonCenter_1F_Text_RecordCornerSoundsFun, MSGBOX_NPC
end
MauvilleCity_PokemonCenter_1F_Text_210EA1: @ 8210EA1
MauvilleCity_PokemonCenter_1F_Text_ManOverThereSaysWeirdThings: @ 8210EA1
.string "That man over there, he says weird\n"
.string "things!\p"
.string "He's funny in a weird way.\n"
.string "I doubt I'll forget about him!$"
MauvilleCity_PokemonCenter_1F_Text_210F06: @ 8210F06
MauvilleCity_PokemonCenter_1F_Text_MyDataUpdatedFromRecordCorner: @ 8210F06
.string "When I accessed the RECORD CORNER,\n"
.string "the data for what's hot in DEWFORD\l"
.string "got updated.\p"
.string "Now that bit of data is the same\n"
.string "as my friend's!$"
MauvilleCity_PokemonCenter_1F_Text_210F8A: @ 8210F8A
MauvilleCity_PokemonCenter_1F_Text_RecordCornerSoundsFun: @ 8210F8A
.string "A RECORD CORNER opened upstairs in\n"
.string "the POKéMON CENTER.\p"
.string "I don't know what it's about, but it\n"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_Mart_EventScript_2223C8",
"script": "MossdeepCity_Mart_EventScript_Clerk",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_Mart_EventScript_2223F6",
"script": "MossdeepCity_Mart_EventScript_Woman",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_Mart_EventScript_2223FF",
"script": "MossdeepCity_Mart_EventScript_Boy",
"flag": "0"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_Mart_EventScript_222408",
"script": "MossdeepCity_Mart_EventScript_Sailor",
"flag": "0"
}
],

View File

@@ -1,18 +1,18 @@
MossdeepCity_Mart_MapScripts:: @ 82223C7
.byte 0
MossdeepCity_Mart_EventScript_2223C8:: @ 82223C8
MossdeepCity_Mart_EventScript_Clerk:: @ 82223C8
lock
faceplayer
message gText_HowMayIServeYou
waitmessage
pokemart MossdeepCity_Mart_Pokemart_2223E0
pokemart MossdeepCity_Mart_Pokemart
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
.align 2
MossdeepCity_Mart_Pokemart_2223E0: @ 82223E0
MossdeepCity_Mart_Pokemart: @ 82223E0
.2byte ITEM_ULTRA_BALL
.2byte ITEM_NET_BALL
.2byte ITEM_DIVE_BALL
@@ -26,31 +26,31 @@ MossdeepCity_Mart_Pokemart_2223E0: @ 82223E0
release
end
MossdeepCity_Mart_EventScript_2223F6:: @ 82223F6
msgbox MossdeepCity_Mart_Text_222411, MSGBOX_NPC
MossdeepCity_Mart_EventScript_Woman:: @ 82223F6
msgbox MossdeepCity_Mart_Text_ReviveIsFantastic, MSGBOX_NPC
end
MossdeepCity_Mart_EventScript_2223FF:: @ 82223FF
msgbox MossdeepCity_Mart_Text_2224A0, MSGBOX_NPC
MossdeepCity_Mart_EventScript_Boy:: @ 82223FF
msgbox MossdeepCity_Mart_Text_MaxRepelLastsLongest, MSGBOX_NPC
end
MossdeepCity_Mart_EventScript_222408:: @ 8222408
msgbox MossdeepCity_Mart_Text_2224FA, MSGBOX_NPC
MossdeepCity_Mart_EventScript_Sailor:: @ 8222408
msgbox MossdeepCity_Mart_Text_NetAndDiveBallsRare, MSGBOX_NPC
end
MossdeepCity_Mart_Text_222411: @ 8222411
MossdeepCity_Mart_Text_ReviveIsFantastic: @ 8222411
.string "REVIVE is fantastic!\p"
.string "Give it to a fainted POKéMON,\n"
.string "and the POKéMON will arise.\p"
.string "But be careful, REVIVE doesn't restore\n"
.string "the used-up PP of moves.$"
MossdeepCity_Mart_Text_2224A0: @ 82224A0
MossdeepCity_Mart_Text_MaxRepelLastsLongest: @ 82224A0
.string "MAX REPEL keeps all weak POKéMON away.\p"
.string "Out of all the REPEL sprays, it lasts\n"
.string "the longest.$"
MossdeepCity_Mart_Text_2224FA: @ 82224FA
MossdeepCity_Mart_Text_NetAndDiveBallsRare: @ 82224FA
.string "The NET and DIVE BALLS are rare POKé\n"
.string "BALLS that are only made in MOSSDEEP.\p"
.string "A NET BALL is effective against\n"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_PokemonCenter_1F_EventScript_22224E",
"script": "MossdeepCity_PokemonCenter_1F_EventScript_Nurse",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_PokemonCenter_1F_EventScript_22225C",
"script": "MossdeepCity_PokemonCenter_1F_EventScript_Woman",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_PokemonCenter_1F_EventScript_222265",
"script": "MossdeepCity_PokemonCenter_1F_EventScript_Girl",
"flag": "0"
}
],

View File

@@ -7,7 +7,8 @@ MossdeepCity_PokemonCenter_1F_OnTransition: @ 822224A
setrespawn HEAL_LOCATION_MOSSDEEP_CITY
end
MossdeepCity_PokemonCenter_1F_EventScript_22224E:: @ 822224E
@ VAR_0x800B is the Nurse's object event id
MossdeepCity_PokemonCenter_1F_EventScript_Nurse:: @ 822224E
setvar VAR_0x800B, 1
call Common_EventScript_PkmnCenterNurse
waitmessage
@@ -15,21 +16,21 @@ MossdeepCity_PokemonCenter_1F_EventScript_22224E:: @ 822224E
release
end
MossdeepCity_PokemonCenter_1F_EventScript_22225C:: @ 822225C
msgbox MossdeepCity_PokemonCenter_1F_Text_22226E, MSGBOX_NPC
MossdeepCity_PokemonCenter_1F_EventScript_Woman:: @ 822225C
msgbox MossdeepCity_PokemonCenter_1F_Text_GymLeaderDuoFormidable, MSGBOX_NPC
end
MossdeepCity_PokemonCenter_1F_EventScript_222265:: @ 8222265
msgbox MossdeepCity_PokemonCenter_1F_Text_2222D9, MSGBOX_NPC
MossdeepCity_PokemonCenter_1F_EventScript_Girl:: @ 8222265
msgbox MossdeepCity_PokemonCenter_1F_Text_AbilitiesMightChangeMoves, MSGBOX_NPC
end
MossdeepCity_PokemonCenter_1F_Text_22226E: @ 822226E
MossdeepCity_PokemonCenter_1F_Text_GymLeaderDuoFormidable: @ 822226E
.string "The GYM LEADERS in this town are\n"
.string "a formidable duo.\p"
.string "Their combination attacks are, like,\n"
.string "excellent and wow!$"
MossdeepCity_PokemonCenter_1F_Text_2222D9: @ 82222D9
MossdeepCity_PokemonCenter_1F_Text_AbilitiesMightChangeMoves: @ 82222D9
.string "Depending on the special abilities of\n"
.string "POKéMON, some moves might change\l"
.string "or not work at all.$"

View File

@@ -89,7 +89,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
"script": "MossdeepCity_SpaceCenter_1F_EventScript_Grunt32",
"script": "MossdeepCity_SpaceCenter_1F_EventScript_Grunt3",
"flag": "FLAG_HIDE_MOSSDEEP_CITY_SPACE_CENTER_1F_TEAM_MAGMA"
},
{
@@ -102,7 +102,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
"script": "MossdeepCity_SpaceCenter_1F_EventScript_Grunt16",
"script": "MossdeepCity_SpaceCenter_1F_EventScript_Grunt1",
"flag": "FLAG_HIDE_MOSSDEEP_CITY_SPACE_CENTER_1F_TEAM_MAGMA"
},
{
@@ -115,7 +115,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
"script": "MossdeepCity_SpaceCenter_1F_EventScript_Grunt33",
"script": "MossdeepCity_SpaceCenter_1F_EventScript_Grunt4",
"flag": "FLAG_HIDE_MOSSDEEP_CITY_SPACE_CENTER_1F_TEAM_MAGMA"
},
{
@@ -128,7 +128,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_SpaceCenter_1F_EventScript_Grunt23",
"script": "MossdeepCity_SpaceCenter_1F_EventScript_Grunt2",
"flag": "FLAG_HIDE_MOSSDEEP_CITY_SPACE_CENTER_1F_TEAM_MAGMA"
},
{

View File

@@ -215,27 +215,27 @@ MossdeepCity_SpaceCenter_1F_EventScript_MagmaNote:: @ 82231CF
releaseall
end
MossdeepCity_SpaceCenter_1F_EventScript_Grunt32:: @ 82231DA
trainerbattle_single TRAINER_GRUNT_32, MossdeepCity_SpaceCenter_1F_Text_Grunt32Intro, MossdeepCity_SpaceCenter_1F_Text_Grunt32Defeat
msgbox MossdeepCity_SpaceCenter_1F_Text_Grunt32PostBattle, MSGBOX_AUTOCLOSE
MossdeepCity_SpaceCenter_1F_EventScript_Grunt3:: @ 82231DA
trainerbattle_single TRAINER_GRUNT_SPACE_CENTER_3, MossdeepCity_SpaceCenter_1F_Text_Grunt3Intro, MossdeepCity_SpaceCenter_1F_Text_Grunt3Defeat
msgbox MossdeepCity_SpaceCenter_1F_Text_Grunt3PostBattle, MSGBOX_AUTOCLOSE
end
MossdeepCity_SpaceCenter_1F_EventScript_Grunt16:: @ 82231F1
trainerbattle_single TRAINER_GRUNT_16, MossdeepCity_SpaceCenter_1F_Text_Grunt16Intro, MossdeepCity_SpaceCenter_1F_Text_Grunt16Defeat
msgbox MossdeepCity_SpaceCenter_1F_Text_Grunt16PostBattle, MSGBOX_AUTOCLOSE
MossdeepCity_SpaceCenter_1F_EventScript_Grunt1:: @ 82231F1
trainerbattle_single TRAINER_GRUNT_SPACE_CENTER_1, MossdeepCity_SpaceCenter_1F_Text_Grunt1Intro, MossdeepCity_SpaceCenter_1F_Text_Grunt1Defeat
msgbox MossdeepCity_SpaceCenter_1F_Text_Grunt1PostBattle, MSGBOX_AUTOCLOSE
end
MossdeepCity_SpaceCenter_1F_EventScript_Grunt33:: @ 8223208
trainerbattle_single TRAINER_GRUNT_33, MossdeepCity_SpaceCenter_1F_Text_Grunt33Intro, MossdeepCity_SpaceCenter_1F_Text_Grunt33Defeat
msgbox MossdeepCity_SpaceCenter_1F_Text_Grunt33PostBattle, MSGBOX_AUTOCLOSE
MossdeepCity_SpaceCenter_1F_EventScript_Grunt4:: @ 8223208
trainerbattle_single TRAINER_GRUNT_SPACE_CENTER_4, MossdeepCity_SpaceCenter_1F_Text_Grunt4Intro, MossdeepCity_SpaceCenter_1F_Text_Grunt4Defeat
msgbox MossdeepCity_SpaceCenter_1F_Text_Grunt4PostBattle, MSGBOX_AUTOCLOSE
end
MossdeepCity_SpaceCenter_1F_EventScript_Grunt23:: @ 822321F
MossdeepCity_SpaceCenter_1F_EventScript_Grunt2:: @ 822321F
lock
faceplayer
goto_if_set FLAG_DEFEATED_GRUNT_SPACE_CENTER_1F, MossdeepCity_SpaceCenter_1F_EventScript_Grunt23Defeated
msgbox MossdeepCity_SpaceCenter_1F_Text_Grunt23Intro, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_GRUNT_23, MossdeepCity_SpaceCenter_1F_Text_Grunt23Defeat
goto_if_set FLAG_DEFEATED_GRUNT_SPACE_CENTER_1F, MossdeepCity_SpaceCenter_1F_EventScript_Grunt2Defeated
msgbox MossdeepCity_SpaceCenter_1F_Text_Grunt2Intro, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_GRUNT_SPACE_CENTER_2, MossdeepCity_SpaceCenter_1F_Text_Grunt2Defeat
setflag FLAG_DEFEATED_GRUNT_SPACE_CENTER_1F
copyobjectxytoperm 9
switch VAR_FACING
@@ -247,8 +247,8 @@ MossdeepCity_SpaceCenter_1F_EventScript_Grunt23:: @ 822321F
release
end
MossdeepCity_SpaceCenter_1F_EventScript_Grunt23Defeated:: @ 822326E
msgbox MossdeepCity_SpaceCenter_1F_Text_Grunt23PostBattle, MSGBOX_DEFAULT
MossdeepCity_SpaceCenter_1F_EventScript_Grunt2Defeated:: @ 822326E
msgbox MossdeepCity_SpaceCenter_1F_Text_Grunt2PostBattle, MSGBOX_DEFAULT
release
end
@@ -375,52 +375,52 @@ MossdeepCity_SpaceCenter_1F_Text_StevenMagmaCantBeAllowedToTakeFuel: @ 8223849
.string "In the meantime, why don't you go\n"
.string "check out the town?$"
MossdeepCity_SpaceCenter_1F_Text_Grunt32Intro: @ 822396C
MossdeepCity_SpaceCenter_1F_Text_Grunt3Intro: @ 822396C
.string "As promised, we've come for\n"
.string "the rocket fuel!$"
MossdeepCity_SpaceCenter_1F_Text_Grunt32Defeat: @ 8223999
MossdeepCity_SpaceCenter_1F_Text_Grunt3Defeat: @ 8223999
.string "Ran out of fuel…$"
MossdeepCity_SpaceCenter_1F_Text_Grunt32PostBattle: @ 82239AA
MossdeepCity_SpaceCenter_1F_Text_Grunt3PostBattle: @ 82239AA
.string "Don't think you're on a roll just\n"
.string "because you've beaten me!$"
MossdeepCity_SpaceCenter_1F_Text_Grunt16Intro: @ 82239E6
MossdeepCity_SpaceCenter_1F_Text_Grunt1Intro: @ 82239E6
.string "We gave you fair warning!\n"
.string "There's nothing sneaky about us!$"
MossdeepCity_SpaceCenter_1F_Text_Grunt16Defeat: @ 8223A21
MossdeepCity_SpaceCenter_1F_Text_Grunt1Defeat: @ 8223A21
.string "Grrr…\n"
.string "We should've used sneaky treachery…$"
MossdeepCity_SpaceCenter_1F_Text_Grunt16PostBattle: @ 8223A4B
MossdeepCity_SpaceCenter_1F_Text_Grunt1PostBattle: @ 8223A4B
.string "Okay, I get it already! The next time,\n"
.string "we'll come unannounced.$"
MossdeepCity_SpaceCenter_1F_Text_Grunt33Intro: @ 8223A8A
MossdeepCity_SpaceCenter_1F_Text_Grunt4Intro: @ 8223A8A
.string "The rocket fuel the SPACE CENTER has\n"
.string "in storage--that's what we're after.\p"
.string "We mean to take every last bit of it!$"
MossdeepCity_SpaceCenter_1F_Text_Grunt33Defeat: @ 8223AFA
MossdeepCity_SpaceCenter_1F_Text_Grunt4Defeat: @ 8223AFA
.string "Please, can you spare some fuel?\n"
.string "Even a chintzy cup will do!$"
MossdeepCity_SpaceCenter_1F_Text_Grunt33PostBattle: @ 8223B37
MossdeepCity_SpaceCenter_1F_Text_Grunt4PostBattle: @ 8223B37
.string "What are we going to do with\n"
.string "the rocket fuel?\p"
.string "How would I know?\n"
.string "Ask our leader upstairs!$"
MossdeepCity_SpaceCenter_1F_Text_Grunt23Intro: @ 8223B90
MossdeepCity_SpaceCenter_1F_Text_Grunt2Intro: @ 8223B90
.string "Our leader said no one, but no one,\n"
.string "gets past me!$"
MossdeepCity_SpaceCenter_1F_Text_Grunt23Defeat: @ 8223BC2
MossdeepCity_SpaceCenter_1F_Text_Grunt2Defeat: @ 8223BC2
.string "Ack! Ack! Aaack!$"
MossdeepCity_SpaceCenter_1F_Text_Grunt23PostBattle: @ 8223BD3
MossdeepCity_SpaceCenter_1F_Text_Grunt2PostBattle: @ 8223BD3
.string "Please, tell our leader that\n"
.string "I never abandoned my post.\l"
.string "That I stayed to the bitter end…$"

View File

@@ -76,7 +76,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_SpaceCenter_2F_EventScript_Grunt35",
"script": "MossdeepCity_SpaceCenter_2F_EventScript_Grunt6",
"flag": "FLAG_HIDE_MOSSDEEP_CITY_SPACE_CENTER_2F_TEAM_MAGMA"
},
{
@@ -89,7 +89,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_SpaceCenter_2F_EventScript_Grunt34",
"script": "MossdeepCity_SpaceCenter_2F_EventScript_Grunt5",
"flag": "FLAG_HIDE_MOSSDEEP_CITY_SPACE_CENTER_2F_TEAM_MAGMA"
},
{
@@ -102,7 +102,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_SpaceCenter_2F_EventScript_Grunt36",
"script": "MossdeepCity_SpaceCenter_2F_EventScript_Grunt7",
"flag": "FLAG_HIDE_MOSSDEEP_CITY_SPACE_CENTER_2F_TEAM_MAGMA"
},
{

View File

@@ -53,21 +53,21 @@ MossdeepCity_SpaceCenter_2F_Movement_PlayerExit: @ 8223E07
step_end
MossdeepCity_SpaceCenter_2F_EventScript_BattleThreeMagmaGrunts:: @ 8223E09
msgbox MossdeepCity_SpaceCenter_2F_Text_Grunt34Intro, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_GRUNT_34, MossdeepCity_SpaceCenter_2F_Text_Grunt34Defeat
applymovement 6, MossdeepCity_SpaceCenter_2F_Movement_Grunt34Defeated
msgbox MossdeepCity_SpaceCenter_2F_Text_Grunt5Intro, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_GRUNT_SPACE_CENTER_5, MossdeepCity_SpaceCenter_2F_Text_Grunt5Defeat
applymovement 6, MossdeepCity_SpaceCenter_2F_Movement_Grunt5Defeated
waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestLeft
waitmovement 0
msgbox MossdeepCity_SpaceCenter_2F_Text_Grunt35Intro, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_GRUNT_35, MossdeepCity_SpaceCenter_2F_Text_Grunt35Defeat
applymovement 5, MossdeepCity_SpaceCenter_2F_Movement_Grunt35Defeated
msgbox MossdeepCity_SpaceCenter_2F_Text_Grunt6Intro, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_GRUNT_SPACE_CENTER_6, MossdeepCity_SpaceCenter_2F_Text_Grunt6Defeat
applymovement 5, MossdeepCity_SpaceCenter_2F_Movement_Grunt6Defeated
waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestRight
waitmovement 0
msgbox MossdeepCity_SpaceCenter_2F_Text_Grunt36Intro, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_GRUNT_36, MossdeepCity_SpaceCenter_2F_Text_Grunt36Defeat
applymovement 7, MossdeepCity_SpaceCenter_2F_Movement_Grunt36Defeated
msgbox MossdeepCity_SpaceCenter_2F_Text_Grunt7Intro, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_GRUNT_SPACE_CENTER_7, MossdeepCity_SpaceCenter_2F_Text_Grunt7Defeat
applymovement 7, MossdeepCity_SpaceCenter_2F_Movement_Grunt7Defeated
waitmovement 0
setvar VAR_MOSSDEEP_SPACE_CENTER_STATE, 2
copyobjectxytoperm 5
@@ -76,19 +76,19 @@ MossdeepCity_SpaceCenter_2F_EventScript_BattleThreeMagmaGrunts:: @ 8223E09
releaseall
end
MossdeepCity_SpaceCenter_2F_Movement_Grunt35Defeated: @ 8223E81
MossdeepCity_SpaceCenter_2F_Movement_Grunt6Defeated: @ 8223E81
lock_facing_direction
walk_left
unlock_facing_direction
step_end
MossdeepCity_SpaceCenter_2F_Movement_Grunt34Defeated: @ 8223E85
MossdeepCity_SpaceCenter_2F_Movement_Grunt5Defeated: @ 8223E85
lock_facing_direction
walk_down
unlock_facing_direction
step_end
MossdeepCity_SpaceCenter_2F_Movement_Grunt36Defeated: @ 8223E89
MossdeepCity_SpaceCenter_2F_Movement_Grunt7Defeated: @ 8223E89
lock_facing_direction
walk_right
unlock_facing_direction
@@ -158,16 +158,16 @@ MossdeepCity_SpaceCenter_2F_EventScript_RichBoyMagma:: @ 8223F34
end
@ Battle for the below 3 grunts is handled in MossdeepCity_SpaceCenter_2F_EventScript_BattleThreeMagmaGrunts
MossdeepCity_SpaceCenter_2F_EventScript_Grunt35:: @ 8223F3E
msgbox MossdeepCity_SpaceCenter_2F_Text_Grunt35PostBattle, MSGBOX_NPC
MossdeepCity_SpaceCenter_2F_EventScript_Grunt6:: @ 8223F3E
msgbox MossdeepCity_SpaceCenter_2F_Text_Grunt6PostBattle, MSGBOX_NPC
end
MossdeepCity_SpaceCenter_2F_EventScript_Grunt36:: @ 8223F47
msgbox MossdeepCity_SpaceCenter_2F_Text_Grunt36PostBattle, MSGBOX_NPC
MossdeepCity_SpaceCenter_2F_EventScript_Grunt7:: @ 8223F47
msgbox MossdeepCity_SpaceCenter_2F_Text_Grunt7PostBattle, MSGBOX_NPC
end
MossdeepCity_SpaceCenter_2F_EventScript_Grunt34:: @ 8223F50
msgbox MossdeepCity_SpaceCenter_2F_Text_Grunt34PostBattle, MSGBOX_NPC
MossdeepCity_SpaceCenter_2F_EventScript_Grunt5:: @ 8223F50
msgbox MossdeepCity_SpaceCenter_2F_Text_Grunt5PostBattle, MSGBOX_NPC
end
MossdeepCity_SpaceCenter_2F_EventScript_Tabitha:: @ 8223F59
@@ -408,39 +408,39 @@ MossdeepCity_SpaceCenter_2F_Text_GoodAnswer: @ 82243FE
.string "Good answer!\n"
.string "That's what a smart person'll do!$"
MossdeepCity_SpaceCenter_2F_Text_Grunt34Intro: @ 822442D
MossdeepCity_SpaceCenter_2F_Text_Grunt5Intro: @ 822442D
.string "A reckless go-getter, are you?\n"
.string "Okay, I'll go first!$"
MossdeepCity_SpaceCenter_2F_Text_Grunt34Defeat: @ 8224461
MossdeepCity_SpaceCenter_2F_Text_Grunt5Defeat: @ 8224461
.string "I lost!\n"
.string "But!$"
MossdeepCity_SpaceCenter_2F_Text_Grunt35Intro: @ 822446E
MossdeepCity_SpaceCenter_2F_Text_Grunt6Intro: @ 822446E
.string "It's too soon to be relieved!\n"
.string "I'm up next!$"
MossdeepCity_SpaceCenter_2F_Text_Grunt35Defeat: @ 8224499
MossdeepCity_SpaceCenter_2F_Text_Grunt6Defeat: @ 8224499
.string "I lost, too!\n"
.string "But!$"
MossdeepCity_SpaceCenter_2F_Text_Grunt36Intro: @ 82244AB
MossdeepCity_SpaceCenter_2F_Text_Grunt7Intro: @ 82244AB
.string "I bet you want to take a break.\n"
.string "But I'm not about to let you do that!$"
MossdeepCity_SpaceCenter_2F_Text_Grunt36Defeat: @ 82244F1
MossdeepCity_SpaceCenter_2F_Text_Grunt7Defeat: @ 82244F1
.string "We should've taken a break…\n"
.string "That's what we should've done…$"
MossdeepCity_SpaceCenter_2F_Text_Grunt35PostBattle: @ 822452C
MossdeepCity_SpaceCenter_2F_Text_Grunt6PostBattle: @ 822452C
.string "Three of us here, and look at the sorry\n"
.string "mess we got ourselves into.$"
MossdeepCity_SpaceCenter_2F_Text_Grunt36PostBattle: @ 8224570
MossdeepCity_SpaceCenter_2F_Text_Grunt7PostBattle: @ 8224570
.string "We three losing like this…\n"
.string "We look worse than usual by triple!$"
MossdeepCity_SpaceCenter_2F_Text_Grunt34PostBattle: @ 82245AF
MossdeepCity_SpaceCenter_2F_Text_Grunt5PostBattle: @ 82245AF
.string "Are we being useful to our leader\n"
.string "at all?$"

View File

@@ -297,7 +297,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "MtChimney_EventScript_Grunt31",
"script": "MtChimney_EventScript_Grunt2",
"flag": "FLAG_HIDE_MT_CHIMNEY_TEAM_MAGMA"
},
{
@@ -388,7 +388,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "MtChimney_EventScript_Grunt24",
"script": "MtChimney_EventScript_Grunt1",
"flag": "FLAG_HIDE_MT_CHIMNEY_TEAM_MAGMA"
},
{

View File

@@ -427,9 +427,9 @@ MtChimney_EventScript_Tabitha:: @ 822F06E
msgbox MtChimney_Text_TabithaPostBattle, MSGBOX_AUTOCLOSE
end
MtChimney_EventScript_Grunt31:: @ 822F085
trainerbattle_single TRAINER_GRUNT_31, MtChimney_Text_Grunt31Intro, MtChimney_Text_Grunt31Defeat
msgbox MtChimney_Text_Grunt31PostBattle, MSGBOX_AUTOCLOSE
MtChimney_EventScript_Grunt2:: @ 822F085
trainerbattle_single TRAINER_GRUNT_MT_CHIMNEY_2, MtChimney_Text_Grunt2Intro, MtChimney_Text_Grunt2Defeat
msgbox MtChimney_Text_Grunt2PostBattle, MSGBOX_AUTOCLOSE
end
MtChimney_EventScript_BusyMagmaGrunt1:: @ 822F09C
@@ -533,9 +533,9 @@ MtChimney_EventScript_Shirley:: @ 822F1DA
msgbox MtChimney_Text_ShirleyPostBattle, MSGBOX_AUTOCLOSE
end
MtChimney_EventScript_Grunt24:: @ 822F1F1
trainerbattle_single TRAINER_GRUNT_24, MtChimney_Text_Grunt24Intro, MtChimney_Text_Grunt24Defeat
msgbox MtChimney_Text_Grunt24PostBattle, MSGBOX_AUTOCLOSE
MtChimney_EventScript_Grunt1:: @ 822F1F1
trainerbattle_single TRAINER_GRUNT_MT_CHIMNEY_1, MtChimney_Text_Grunt1Intro, MtChimney_Text_Grunt1Defeat
msgbox MtChimney_Text_Grunt1PostBattle, MSGBOX_AUTOCLOSE
end
MtChimney_EventScript_Sawyer:: @ 822F208
@@ -627,32 +627,32 @@ MtChimney_Text_TabithaPostBattle: @ 822F76D
.string "Give it the METEORITE's energy!\p"
.string "Hehehe…$"
MtChimney_Text_Grunt31Intro: @ 822F7A2
MtChimney_Text_Grunt2Intro: @ 822F7A2
.string "We of TEAM MAGMA are working hard for\n"
.string "everyone's sake.\p"
.string "Like, if that thing's power made more\n"
.string "land, there'd be more places to live.\p"
.string "Everyone'd be happy!$"
MtChimney_Text_Grunt31Defeat: @ 822F83A
MtChimney_Text_Grunt2Defeat: @ 822F83A
.string "Hunh?\n"
.string "What do you mean I lost?$"
MtChimney_Text_Grunt31PostBattle: @ 822F859
MtChimney_Text_Grunt2PostBattle: @ 822F859
.string "Our BOSS says, “It will make everyone\n"
.string "happy.”\p"
.string "But why does everyone keep getting\n"
.string "in our way?$"
MtChimney_Text_Grunt24Intro: @ 822F8B6
MtChimney_Text_Grunt1Intro: @ 822F8B6
.string "If there were more land, I'd be able\n"
.string "to get a big house of my own!\p"
.string "I'm going to build it on hardened lava!$"
MtChimney_Text_Grunt24Defeat: @ 822F921
MtChimney_Text_Grunt1Defeat: @ 822F921
.string "My dream of a big house…$"
MtChimney_Text_Grunt24PostBattle: @ 822F93A
MtChimney_Text_Grunt1PostBattle: @ 822F93A
.string "A kid like you, you ought to be\n"
.string "splashing about in the waves!$"

View File

@@ -63,7 +63,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "MtPyre_Summit_EventScript_Grunt17",
"script": "MtPyre_Summit_EventScript_Grunt1",
"flag": "FLAG_HIDE_MT_PYRE_SUMMIT_TEAM_AQUA"
},
{
@@ -76,7 +76,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "MtPyre_Summit_EventScript_Grunt18",
"script": "MtPyre_Summit_EventScript_Grunt2",
"flag": "FLAG_HIDE_MT_PYRE_SUMMIT_TEAM_AQUA"
},
{
@@ -89,7 +89,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "MtPyre_Summit_EventScript_Grunt19",
"script": "MtPyre_Summit_EventScript_Grunt3",
"flag": "FLAG_HIDE_MT_PYRE_SUMMIT_TEAM_AQUA"
},
{
@@ -102,7 +102,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "MtPyre_Summit_EventScript_Grunt29",
"script": "MtPyre_Summit_EventScript_Grunt4",
"flag": "FLAG_HIDE_MT_PYRE_SUMMIT_TEAM_AQUA"
},
{

View File

@@ -422,40 +422,40 @@ MtPyre_Summit_Movement_MaxieApproachArchie2: @ 82323F8
walk_in_place_fastest_left
step_end
MtPyre_Summit_EventScript_Grunt17:: @ 82323FD
trainerbattle_single TRAINER_GRUNT_17, MtPyre_Summit_Text_Grunt17Intro, MtPyre_Summit_Text_Grunt17Defeat
msgbox MtPyre_Summit_Text_Grunt17PostBattle, MSGBOX_AUTOCLOSE
MtPyre_Summit_EventScript_Grunt1:: @ 82323FD
trainerbattle_single TRAINER_GRUNT_MT_PYRE_1, MtPyre_Summit_Text_Grunt1Intro, MtPyre_Summit_Text_Grunt1Defeat
msgbox MtPyre_Summit_Text_Grunt1PostBattle, MSGBOX_AUTOCLOSE
end
MtPyre_Summit_EventScript_Grunt18:: @ 8232414
trainerbattle_single TRAINER_GRUNT_18, MtPyre_Summit_Text_Grunt18Intro, MtPyre_Summit_Text_Grunt18Defeat
msgbox MtPyre_Summit_Text_Grunt18PostBattle, MSGBOX_AUTOCLOSE
MtPyre_Summit_EventScript_Grunt2:: @ 8232414
trainerbattle_single TRAINER_GRUNT_MT_PYRE_2, MtPyre_Summit_Text_Grunt2Intro, MtPyre_Summit_Text_Grunt2Defeat
msgbox MtPyre_Summit_Text_Grunt2PostBattle, MSGBOX_AUTOCLOSE
end
MtPyre_Summit_EventScript_Grunt19:: @ 823242B
trainerbattle_single TRAINER_GRUNT_19, MtPyre_Summit_Text_Grunt19Intro, MtPyre_Summit_Text_Grunt19Defeat
msgbox MtPyre_Summit_Text_Grunt19PostBattle, MSGBOX_AUTOCLOSE
MtPyre_Summit_EventScript_Grunt3:: @ 823242B
trainerbattle_single TRAINER_GRUNT_MT_PYRE_3, MtPyre_Summit_Text_Grunt3Intro, MtPyre_Summit_Text_Grunt3Defeat
msgbox MtPyre_Summit_Text_Grunt3PostBattle, MSGBOX_AUTOCLOSE
end
MtPyre_Summit_EventScript_Grunt29:: @ 8232442
trainerbattle_single TRAINER_GRUNT_29, MtPyre_Summit_Text_Grunt29Intro, MtPyre_Summit_Text_Grunt29Defeat
msgbox MtPyre_Summit_Text_Grunt29PostBattle, MSGBOX_AUTOCLOSE
MtPyre_Summit_EventScript_Grunt4:: @ 8232442
trainerbattle_single TRAINER_GRUNT_MT_PYRE_4, MtPyre_Summit_Text_Grunt4Intro, MtPyre_Summit_Text_Grunt4Defeat
msgbox MtPyre_Summit_Text_Grunt4PostBattle, MSGBOX_AUTOCLOSE
end
MtPyre_Summit_Text_Grunt17Intro: @ 8232459
MtPyre_Summit_Text_Grunt1Intro: @ 8232459
.string "No! Those TEAM MAGMA goons got\n"
.string "here ahead of us!\p"
.string "We can't fall behind!$"
MtPyre_Summit_Text_Grunt17Defeat: @ 82324A0
MtPyre_Summit_Text_Grunt1Defeat: @ 82324A0
.string "I thought you were one of the MAGMAS\n"
.string "who happened to come back…$"
MtPyre_Summit_Text_Grunt17PostBattle: @ 82324E0
MtPyre_Summit_Text_Grunt1PostBattle: @ 82324E0
.string "Yeah, so you are strong…\n"
.string "But there're a lot of us!$"
MtPyre_Summit_Text_Grunt18Intro: @ 8232513
MtPyre_Summit_Text_Grunt2Intro: @ 8232513
.string "Hah!\n"
.string "Too bad for you!\p"
.string "If you came earlier, you only would've\n"
@@ -463,42 +463,42 @@ MtPyre_Summit_Text_Grunt18Intro: @ 8232513
.string "But since you arrived now, you have\n"
.string "to take on us toughies!$"
MtPyre_Summit_Text_Grunt18Defeat: @ 82325B0
MtPyre_Summit_Text_Grunt2Defeat: @ 82325B0
.string "Urgh… I should've let you take on\n"
.string "TEAM MAGMA first…$"
MtPyre_Summit_Text_Grunt18PostBattle: @ 82325E4
MtPyre_Summit_Text_Grunt2PostBattle: @ 82325E4
.string "You don't know anything!\n"
.string "So why are you messing with us?$"
MtPyre_Summit_Text_Grunt19Intro: @ 823261D
MtPyre_Summit_Text_Grunt3Intro: @ 823261D
.string "You…\n"
.string "We saw you at MT. CHIMNEY.\p"
.string "You don't belong to either TEAM,\n"
.string "so why would you be here?$"
MtPyre_Summit_Text_Grunt19Defeat: @ 8232678
MtPyre_Summit_Text_Grunt3Defeat: @ 8232678
.string "If you're going to mess with anyone,\n"
.string "let it be TEAM MAGMA…$"
MtPyre_Summit_Text_Grunt19PostBattle: @ 82326B3
MtPyre_Summit_Text_Grunt3PostBattle: @ 82326B3
.string "Heh, it doesn't matter!\n"
.string "We bought ourselves some time!\p"
.string "The BOSS should have snatched what\n"
.string "he was after!$"
MtPyre_Summit_Text_Grunt29Intro: @ 823271B
MtPyre_Summit_Text_Grunt4Intro: @ 823271B
.string "Oh, I know!\n"
.string "You tried to join TEAM MAGMA,\l"
.string "but they wouldn't have you!\p"
.string "Well, don't think that we'll let you\n"
.string "join our TEAM AQUA!$"
MtPyre_Summit_Text_Grunt29Defeat: @ 823279A
MtPyre_Summit_Text_Grunt4Defeat: @ 823279A
.string "If you want to join TEAM AQUA that\n"
.string "badly, we can consider it…$"
MtPyre_Summit_Text_Grunt29PostBattle: @ 82327D8
MtPyre_Summit_Text_Grunt4PostBattle: @ 82327D8
.string "We have a great combination going\n"
.string "with us members and our leader.$"

View File

@@ -8,6 +8,7 @@ OldaleTown_PokemonCenter_1F_OnTransition: @ 81FC011
call Common_EventScript_UpdateBrineyLocation
end
@ VAR_0x800B is the Nurse's object event id
OldaleTown_PokemonCenter_1F_EventScript_Nurse:: @ 81FC01A
setvar VAR_0x800B, 1
call Common_EventScript_PkmnCenterNurse

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_PokemonCenter_1F_EventScript_2034B6",
"script": "PacifidlogTown_PokemonCenter_1F_EventScript_Nurse",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_PokemonCenter_1F_EventScript_2034D6",
"script": "PacifidlogTown_PokemonCenter_1F_EventScript_OldMan",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_PokemonCenter_1F_EventScript_2034C4",
"script": "PacifidlogTown_PokemonCenter_1F_EventScript_Girl",
"flag": "0"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "PacifidlogTown_PokemonCenter_1F_EventScript_2034CD",
"script": "PacifidlogTown_PokemonCenter_1F_EventScript_Woman",
"flag": "0"
},
{

View File

@@ -7,7 +7,8 @@ PacifidlogTown_PokemonCenter_1F_OnTransition: @ 82034B2
setrespawn HEAL_LOCATION_PACIFIDLOG_TOWN
end
PacifidlogTown_PokemonCenter_1F_EventScript_2034B6:: @ 82034B6
@ VAR_0x800B is the Nurse's object event id
PacifidlogTown_PokemonCenter_1F_EventScript_Nurse:: @ 82034B6
setvar VAR_0x800B, 1
call Common_EventScript_PkmnCenterNurse
waitmessage
@@ -15,29 +16,29 @@ PacifidlogTown_PokemonCenter_1F_EventScript_2034B6:: @ 82034B6
release
end
PacifidlogTown_PokemonCenter_1F_EventScript_2034C4:: @ 82034C4
msgbox PacifidlogTown_PokemonCenter_1F_Text_2034DF, MSGBOX_NPC
PacifidlogTown_PokemonCenter_1F_EventScript_Girl:: @ 82034C4
msgbox PacifidlogTown_PokemonCenter_1F_Text_WhatColorTrainerCard, MSGBOX_NPC
end
PacifidlogTown_PokemonCenter_1F_EventScript_2034CD:: @ 82034CD
msgbox PacifidlogTown_PokemonCenter_1F_Text_20350F, MSGBOX_NPC
PacifidlogTown_PokemonCenter_1F_EventScript_Woman:: @ 82034CD
msgbox PacifidlogTown_PokemonCenter_1F_Text_OnColonyOfCorsola, MSGBOX_NPC
end
PacifidlogTown_PokemonCenter_1F_EventScript_2034D6:: @ 82034D6
msgbox PacifidlogTown_PokemonCenter_1F_Text_20356F, MSGBOX_NPC
PacifidlogTown_PokemonCenter_1F_EventScript_OldMan:: @ 82034D6
msgbox PacifidlogTown_PokemonCenter_1F_Text_AncestorsLivedOnBoats, MSGBOX_NPC
end
PacifidlogTown_PokemonCenter_1F_Text_2034DF: @ 82034DF
PacifidlogTown_PokemonCenter_1F_Text_WhatColorTrainerCard: @ 82034DF
.string "What color is your TRAINER CARD?\n"
.string "Mine's copper!$"
PacifidlogTown_PokemonCenter_1F_Text_20350F: @ 820350F
PacifidlogTown_PokemonCenter_1F_Text_OnColonyOfCorsola: @ 820350F
.string "PACIFIDLOG TOWN floats on top of\n"
.string "a colony of CORSOLA.\p"
.string "If I told you that, would you believe\n"
.string "me?$"
PacifidlogTown_PokemonCenter_1F_Text_20356F: @ 820356F
PacifidlogTown_PokemonCenter_1F_Text_AncestorsLivedOnBoats: @ 820356F
.string "The ancestors of the people in\n"
.string "PACIFIDLOG were said to have been\l"
.string "born on boats and then lived and died \l"

View File

@@ -8,6 +8,7 @@ PetalburgCity_PokemonCenter_1F_OnTransition: @ 82079F3
call Common_EventScript_UpdateBrineyLocation
end
@ VAR_0x800B is the Nurse's object event id
PetalburgCity_PokemonCenter_1F_EventScript_Nurse:: @ 82079FC
setvar VAR_0x800B, 1
call Common_EventScript_PkmnCenterNurse

View File

@@ -26,7 +26,7 @@ PetalburgWoods_EventScript_DevonResearcherLeft:: @ 822DFD7
applymovement 3, PetalburgWoods_Movement_AquaApproachPlayer
waitmovement 0
msgbox PetalburgWoods_Text_NoOneCrossesTeamAqua, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_GRUNT_8, PetalburgWoods_Text_YoureKiddingMe
trainerbattle_no_intro TRAINER_GRUNT_PETALBURG_WOODS, PetalburgWoods_Text_YoureKiddingMe
applymovement 3, PetalburgWoods_Movement_AquaBackOff
waitmovement 0
call PetalburgWoods_EventScript_DevonResearcherPostBattle
@@ -62,7 +62,7 @@ PetalburgWoods_EventScript_DevonResearcherRight:: @ 822E079
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestUp
waitmovement 0
msgbox PetalburgWoods_Text_NoOneCrossesTeamAqua, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_GRUNT_8, PetalburgWoods_Text_YoureKiddingMe
trainerbattle_no_intro TRAINER_GRUNT_PETALBURG_WOODS, PetalburgWoods_Text_YoureKiddingMe
applymovement 3, PetalburgWoods_Movement_AquaBackOff
waitmovement 0
call PetalburgWoods_EventScript_DevonResearcherPostBattle

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route119_WeatherInstitute_1F_EventScript_Grunt11",
"script": "Route119_WeatherInstitute_1F_EventScript_Grunt1",
"flag": "FLAG_HIDE_ROUTE_119_TEAM_AQUA"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route119_WeatherInstitute_1F_EventScript_Grunt20",
"script": "Route119_WeatherInstitute_1F_EventScript_Grunt4",
"flag": "FLAG_HIDE_ROUTE_119_TEAM_AQUA"
},
{

View File

@@ -61,40 +61,40 @@ Route119_WeatherInstitute_1F_EventScript_Bed:: @ 826FB18
releaseall
end
Route119_WeatherInstitute_1F_EventScript_Grunt11:: @ 826FB29
trainerbattle_single TRAINER_GRUNT_11, Route119_WeatherInstitute_1F_Text_Grunt11Intro, Route119_WeatherInstitute_1F_Text_Grunt11Defeat
msgbox Route119_WeatherInstitute_1F_Text_Grunt11PostBattle, MSGBOX_AUTOCLOSE
Route119_WeatherInstitute_1F_EventScript_Grunt1:: @ 826FB29
trainerbattle_single TRAINER_GRUNT_WEATHER_INST_1, Route119_WeatherInstitute_1F_Text_Grunt1Intro, Route119_WeatherInstitute_1F_Text_Grunt1Defeat
msgbox Route119_WeatherInstitute_1F_Text_Grunt1PostBattle, MSGBOX_AUTOCLOSE
end
Route119_WeatherInstitute_1F_EventScript_Grunt20:: @ 826FB40
trainerbattle_single TRAINER_GRUNT_20, Route119_WeatherInstitute_1F_Text_Grunt20Intro, Route119_WeatherInstitute_1F_Text_Grunt20Defeat
msgbox Route119_WeatherInstitute_1F_Text_Grunt20PostBattle, MSGBOX_AUTOCLOSE
Route119_WeatherInstitute_1F_EventScript_Grunt4:: @ 826FB40
trainerbattle_single TRAINER_GRUNT_WEATHER_INST_4, Route119_WeatherInstitute_1F_Text_Grunt4Intro, Route119_WeatherInstitute_1F_Text_Grunt4Defeat
msgbox Route119_WeatherInstitute_1F_Text_Grunt4PostBattle, MSGBOX_AUTOCLOSE
end
Route119_WeatherInstitute_1F_Text_Grunt11Intro: @ 826FB57
Route119_WeatherInstitute_1F_Text_Grunt1Intro: @ 826FB57
.string "The BOSS got interested in\n"
.string "the research they have going here,\l"
.string "so he sent us out.\p"
.string "You quit meddling!$"
Route119_WeatherInstitute_1F_Text_Grunt11Defeat: @ 826FBBB
Route119_WeatherInstitute_1F_Text_Grunt1Defeat: @ 826FBBB
.string "Blast it…\n"
.string "Blasted by a kid…$"
Route119_WeatherInstitute_1F_Text_Grunt11PostBattle: @ 826FBD7
Route119_WeatherInstitute_1F_Text_Grunt1PostBattle: @ 826FBD7
.string "Our BOSS knows everything.\p"
.string "But I'm just a GRUNT. What would I know\n"
.string "about what he's thinking?$"
Route119_WeatherInstitute_1F_Text_Grunt20Intro: @ 826FC34
Route119_WeatherInstitute_1F_Text_Grunt4Intro: @ 826FC34
.string "Huh?\n"
.string "What's a kid doing here?$"
Route119_WeatherInstitute_1F_Text_Grunt20Defeat: @ 826FC52
Route119_WeatherInstitute_1F_Text_Grunt4Defeat: @ 826FC52
.string "Huh?\n"
.string "I lost?!$"
Route119_WeatherInstitute_1F_Text_Grunt20PostBattle: @ 826FC60
Route119_WeatherInstitute_1F_Text_Grunt4PostBattle: @ 826FC60
.string "Oh, no…\n"
.string "I'll catch an earful for losing to a kid…\p"
.string "I should just take a nap in the bed…$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route119_WeatherInstitute_2F_EventScript_Grunt12",
"script": "Route119_WeatherInstitute_2F_EventScript_Grunt2",
"flag": "FLAG_HIDE_ROUTE_119_TEAM_AQUA"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route119_WeatherInstitute_2F_EventScript_Grunt13",
"script": "Route119_WeatherInstitute_2F_EventScript_Grunt3",
"flag": "FLAG_HIDE_ROUTE_119_TEAM_AQUA"
},
{
@@ -115,7 +115,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route119_WeatherInstitute_2F_EventScript_Grunt37",
"script": "Route119_WeatherInstitute_2F_EventScript_Grunt5",
"flag": "FLAG_HIDE_ROUTE_119_TEAM_AQUA"
}
],

View File

@@ -25,19 +25,19 @@ Route119_WeatherInstitute_2F_EventScript_SetScientistPosGameClear:: @ 826FF5C
setobjectmovementtype 5, MOVEMENT_TYPE_FACE_UP
return
Route119_WeatherInstitute_2F_EventScript_Grunt37:: @ 826FF68
trainerbattle_single TRAINER_GRUNT_37, Route119_WeatherInstitute_2F_Text_Grunt37Intro, Route119_WeatherInstitute_2F_Text_Grunt37Defeat
msgbox Route119_WeatherInstitute_2F_Text_Grunt37PostBattle, MSGBOX_AUTOCLOSE
Route119_WeatherInstitute_2F_EventScript_Grunt5:: @ 826FF68
trainerbattle_single TRAINER_GRUNT_WEATHER_INST_5, Route119_WeatherInstitute_2F_Text_Grunt5Intro, Route119_WeatherInstitute_2F_Text_Grunt5Defeat
msgbox Route119_WeatherInstitute_2F_Text_Grunt5PostBattle, MSGBOX_AUTOCLOSE
end
Route119_WeatherInstitute_2F_EventScript_Grunt12:: @ 826FF7F
trainerbattle_single TRAINER_GRUNT_12, Route119_WeatherInstitute_2F_Text_Grunt12Intro, Route119_WeatherInstitute_2F_Text_Grunt12Defeat
msgbox Route119_WeatherInstitute_2F_Text_Grunt12PostBattle, MSGBOX_AUTOCLOSE
Route119_WeatherInstitute_2F_EventScript_Grunt2:: @ 826FF7F
trainerbattle_single TRAINER_GRUNT_WEATHER_INST_2, Route119_WeatherInstitute_2F_Text_Grunt2Intro, Route119_WeatherInstitute_2F_Text_Grunt2Defeat
msgbox Route119_WeatherInstitute_2F_Text_Grunt2PostBattle, MSGBOX_AUTOCLOSE
end
Route119_WeatherInstitute_2F_EventScript_Grunt13:: @ 826FF96
trainerbattle_single TRAINER_GRUNT_13, Route119_WeatherInstitute_2F_Text_Grunt13Intro, Route119_WeatherInstitute_2F_Text_Grunt13Defeat
msgbox Route119_WeatherInstitute_2F_Text_Grunt13PostBattle, MSGBOX_AUTOCLOSE
Route119_WeatherInstitute_2F_EventScript_Grunt3:: @ 826FF96
trainerbattle_single TRAINER_GRUNT_WEATHER_INST_3, Route119_WeatherInstitute_2F_Text_Grunt3Intro, Route119_WeatherInstitute_2F_Text_Grunt3Defeat
msgbox Route119_WeatherInstitute_2F_Text_Grunt3PostBattle, MSGBOX_AUTOCLOSE
end
Route119_WeatherInstitute_2F_EventScript_Shelly:: @ 826FFAD
@@ -211,42 +211,42 @@ Route119_WeatherInstitute_2F_EventScript_WeatherScientist:: @ 827018B
goto Route119_WeatherInstitute_2F_EventScript_ReceiveCastform
end
Route119_WeatherInstitute_2F_Text_Grunt12Intro: @ 827019C
Route119_WeatherInstitute_2F_Text_Grunt2Intro: @ 827019C
.string "The INSTITUTE created a type of\n"
.string "POKéMON that has something to do with\l"
.string "the weather. We're here to take them!$"
Route119_WeatherInstitute_2F_Text_Grunt12Defeat: @ 8270208
Route119_WeatherInstitute_2F_Text_Grunt2Defeat: @ 8270208
.string "Our plan's being spoiled by a kid?$"
Route119_WeatherInstitute_2F_Text_Grunt12PostBattle: @ 827022B
Route119_WeatherInstitute_2F_Text_Grunt2PostBattle: @ 827022B
.string "If the POKéMON they made here can\n"
.string "control the weather freely, then we of\l"
.string "TEAM AQUA definitely need it!$"
Route119_WeatherInstitute_2F_Text_Grunt13Intro: @ 8270292
Route119_WeatherInstitute_2F_Text_Grunt3Intro: @ 8270292
.string "We're TEAM AQUA!\n"
.string "We appear wherever anything rare is\l"
.string "found!$"
Route119_WeatherInstitute_2F_Text_Grunt13Defeat: @ 82702CE
Route119_WeatherInstitute_2F_Text_Grunt3Defeat: @ 82702CE
.string "You got me!$"
Route119_WeatherInstitute_2F_Text_Grunt13PostBattle: @ 82702DA
Route119_WeatherInstitute_2F_Text_Grunt3PostBattle: @ 82702DA
.string "You don't have any idea what we of\n"
.string "TEAM AQUA are working towards!\l"
.string "You stay out of our way!$"
Route119_WeatherInstitute_2F_Text_Grunt37Intro: @ 8270335
Route119_WeatherInstitute_2F_Text_Grunt5Intro: @ 8270335
.string "Don't tell me you're looking for that\n"
.string "weather POKéMON, too?\p"
.string "That's a no-no!\n"
.string "We were here to get it first!$"
Route119_WeatherInstitute_2F_Text_Grunt37Defeat: @ 827039F
Route119_WeatherInstitute_2F_Text_Grunt5Defeat: @ 827039F
.string "Oh, will you look at my POKéMON?$"
Route119_WeatherInstitute_2F_Text_Grunt37PostBattle: @ 82703C0
Route119_WeatherInstitute_2F_Text_Grunt5PostBattle: @ 82703C0
.string "Humph, so what?\n"
.string "What we want…\p"
.string "What we really want isn't here…\n"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_Mart_EventScript_214F06",
"script": "RustboroCity_Mart_EventScript_Clerk",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_Mart_EventScript_214F7D",
"script": "RustboroCity_Mart_EventScript_Boy",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_Mart_EventScript_214F74",
"script": "RustboroCity_Mart_EventScript_PokefanF",
"flag": "0"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_Mart_EventScript_214F86",
"script": "RustboroCity_Mart_EventScript_BugCatcher",
"flag": "0"
}
],

View File

@@ -1,22 +1,22 @@
RustboroCity_Mart_MapScripts:: @ 8214F05
.byte 0
RustboroCity_Mart_EventScript_214F06:: @ 8214F06
RustboroCity_Mart_EventScript_Clerk:: @ 8214F06
lock
faceplayer
message gText_HowMayIServeYou
waitmessage
goto_if_unset FLAG_MET_DEVON_EMPLOYEE, RustboroCity_Mart_EventScript_214F21
goto_if_set FLAG_MET_DEVON_EMPLOYEE, RustboroCity_Mart_EventScript_214F48
goto_if_unset FLAG_MET_DEVON_EMPLOYEE, RustboroCity_Mart_EventScript_PokemartBasic
goto_if_set FLAG_MET_DEVON_EMPLOYEE, RustboroCity_Mart_EventScript_PokemartExpanded
end
RustboroCity_Mart_EventScript_214F21:: @ 8214F21
pokemart RustboroCity_Mart_Pokemart_214F30
RustboroCity_Mart_EventScript_PokemartBasic:: @ 8214F21
pokemart RustboroCity_Mart_Pokemart_Basic
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
RustboroCity_Mart_Pokemart_214F30: @ 8214F30
RustboroCity_Mart_Pokemart_Basic: @ 8214F30
.2byte ITEM_POKE_BALL
.2byte ITEM_POTION
.2byte ITEM_SUPER_POTION
@@ -31,14 +31,14 @@ RustboroCity_Mart_Pokemart_214F30: @ 8214F30
release
end
RustboroCity_Mart_EventScript_214F48:: @ 8214F48
pokemart RustboroCity_Mart_Pokemart_214F58
RustboroCity_Mart_EventScript_PokemartExpanded:: @ 8214F48
pokemart RustboroCity_Mart_Pokemart_Expanded
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
.align 2
RustboroCity_Mart_Pokemart_214F58: @ 8214F58
RustboroCity_Mart_Pokemart_Expanded: @ 8214F58
.2byte ITEM_POKE_BALL
.2byte ITEM_TIMER_BALL
.2byte ITEM_REPEAT_BALL
@@ -55,31 +55,31 @@ RustboroCity_Mart_Pokemart_214F58: @ 8214F58
release
end
RustboroCity_Mart_EventScript_214F74:: @ 8214F74
msgbox RustboroCity_Mart_Text_214F8F, MSGBOX_NPC
RustboroCity_Mart_EventScript_PokefanF:: @ 8214F74
msgbox RustboroCity_Mart_Text_BuyingHealsInCaseOfShroomish, MSGBOX_NPC
end
RustboroCity_Mart_EventScript_214F7D:: @ 8214F7D
msgbox RustboroCity_Mart_Text_214FF1, MSGBOX_NPC
RustboroCity_Mart_EventScript_Boy:: @ 8214F7D
msgbox RustboroCity_Mart_Text_ShouldBuySuperPotionsInstead, MSGBOX_NPC
end
RustboroCity_Mart_EventScript_214F86:: @ 8214F86
msgbox RustboroCity_Mart_Text_21505C, MSGBOX_NPC
RustboroCity_Mart_EventScript_BugCatcher:: @ 8214F86
msgbox RustboroCity_Mart_Text_GettingEscapeRopeJustInCase, MSGBOX_NPC
end
RustboroCity_Mart_Text_214F8F: @ 8214F8F
RustboroCity_Mart_Text_BuyingHealsInCaseOfShroomish: @ 8214F8F
.string "I'm buying some PARLYZ HEALS and\n"
.string "ANTIDOTES.\p"
.string "Just in case I run into SHROOMISH\n"
.string "in PETALBURG WOODS.$"
RustboroCity_Mart_Text_214FF1: @ 8214FF1
RustboroCity_Mart_Text_ShouldBuySuperPotionsInstead: @ 8214FF1
.string "My POKéMON evolved.\n"
.string "It has a lot of HP now.\p"
.string "I should buy SUPER POTIONS for it\n"
.string "instead of ordinary POTIONS.$"
RustboroCity_Mart_Text_21505C: @ 821505C
RustboroCity_Mart_Text_GettingEscapeRopeJustInCase: @ 821505C
.string "I'm getting an ESCAPE ROPE just in\n"
.string "case I get lost in a cave.\p"
.string "I just need to use it to get back to\n"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_PokemonCenter_1F_EventScript_214D76",
"script": "RustboroCity_PokemonCenter_1F_EventScript_Nurse",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_PokemonCenter_1F_EventScript_214D84",
"script": "RustboroCity_PokemonCenter_1F_EventScript_Man",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_PokemonCenter_1F_EventScript_214D8D",
"script": "RustboroCity_PokemonCenter_1F_EventScript_Boy",
"flag": "0"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "RustboroCity_PokemonCenter_1F_EventScript_214D96",
"script": "RustboroCity_PokemonCenter_1F_EventScript_Girl",
"flag": "0"
}
],

View File

@@ -8,7 +8,8 @@ RustboroCity_PokemonCenter_1F_OnTransition: @ 8214D6D
call Common_EventScript_UpdateBrineyLocation
end
RustboroCity_PokemonCenter_1F_EventScript_214D76:: @ 8214D76
@ VAR_0x800B is the Nurse's object event id
RustboroCity_PokemonCenter_1F_EventScript_Nurse:: @ 8214D76
setvar VAR_0x800B, 1
call Common_EventScript_PkmnCenterNurse
waitmessage
@@ -16,31 +17,31 @@ RustboroCity_PokemonCenter_1F_EventScript_214D76:: @ 8214D76
release
end
RustboroCity_PokemonCenter_1F_EventScript_214D84:: @ 8214D84
msgbox RustboroCity_PokemonCenter_1F_Text_214D9F, MSGBOX_NPC
RustboroCity_PokemonCenter_1F_EventScript_Man:: @ 8214D84
msgbox RustboroCity_PokemonCenter_1F_Text_PokemonHavePersonalities, MSGBOX_NPC
end
RustboroCity_PokemonCenter_1F_EventScript_214D8D:: @ 8214D8D
msgbox RustboroCity_PokemonCenter_1F_Text_214E13, MSGBOX_NPC
RustboroCity_PokemonCenter_1F_EventScript_Boy:: @ 8214D8D
msgbox RustboroCity_PokemonCenter_1F_Text_MaleAndFemalePokemon, MSGBOX_NPC
end
RustboroCity_PokemonCenter_1F_EventScript_214D96:: @ 8214D96
msgbox RustboroCity_PokemonCenter_1F_Text_214E81, MSGBOX_NPC
RustboroCity_PokemonCenter_1F_EventScript_Girl:: @ 8214D96
msgbox RustboroCity_PokemonCenter_1F_Text_HMCutNextDoor, MSGBOX_NPC
end
RustboroCity_PokemonCenter_1F_Text_214D9F: @ 8214D9F
RustboroCity_PokemonCenter_1F_Text_PokemonHavePersonalities: @ 8214D9F
.string "My POKéMON has a NAIVE nature, and my\n"
.string "friend's has a JOLLY nature.\p"
.string "It's fascinating how POKéMON have\n"
.string "personalities!$"
RustboroCity_PokemonCenter_1F_Text_214E13: @ 8214E13
RustboroCity_PokemonCenter_1F_Text_MaleAndFemalePokemon: @ 8214E13
.string "Just like people, there are male and\n"
.string "female POKéMON.\p"
.string "But no one seems to have any idea how\n"
.string "they're different.$"
RustboroCity_PokemonCenter_1F_Text_214E81: @ 8214E81
RustboroCity_PokemonCenter_1F_Text_HMCutNextDoor: @ 8214E81
.string "The man next door gave me an HM!\p"
.string "I used it to teach my POKéMON how to\n"
.string "CUT down skinny trees.$"

View File

@@ -312,7 +312,7 @@ RusturfTunnel_EventScript_22D0C2:: @ 822D0C2
faceplayer
playbgm MUS_AQA_0, 0
msgbox RusturfTunnel_Text_22D20A, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_GRUNT_10, RusturfTunnel_Text_22D2B0
trainerbattle_no_intro TRAINER_GRUNT_RUSTURF_TUNNEL, RusturfTunnel_Text_22D2B0
msgbox RusturfTunnel_Text_22D2E1, MSGBOX_DEFAULT
giveitem_std ITEM_DEVON_GOODS
closemessage

View File

@@ -63,7 +63,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
"script": "SeafloorCavern_Room1_EventScript_Grunt5",
"script": "SeafloorCavern_Room1_EventScript_Grunt1",
"flag": "FLAG_HIDE_SEAFLOOR_CAVERN_AQUA_GRUNTS"
},
{
@@ -76,7 +76,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "SeafloorCavern_Room1_EventScript_Grunt6",
"script": "SeafloorCavern_Room1_EventScript_Grunt2",
"flag": "FLAG_HIDE_SEAFLOOR_CAVERN_AQUA_GRUNTS"
}
],

View File

@@ -1,35 +1,35 @@
SeafloorCavern_Room1_MapScripts:: @ 82347EB
.byte 0
SeafloorCavern_Room1_EventScript_Grunt5:: @ 82347EC
trainerbattle_single TRAINER_GRUNT_5, SeafloorCavern_Room1_Text_Grunt5Intro, SeafloorCavern_Room1_Text_Grunt5Defeat
msgbox SeafloorCavern_Room1_Text_Grunt5PostBattle, MSGBOX_AUTOCLOSE
SeafloorCavern_Room1_EventScript_Grunt1:: @ 82347EC
trainerbattle_single TRAINER_GRUNT_SEAFLOOR_CAVERN_1, SeafloorCavern_Room1_Text_Grunt1Intro, SeafloorCavern_Room1_Text_Grunt1Defeat
msgbox SeafloorCavern_Room1_Text_Grunt1PostBattle, MSGBOX_AUTOCLOSE
end
SeafloorCavern_Room1_EventScript_Grunt6:: @ 8234803
trainerbattle_single TRAINER_GRUNT_6, SeafloorCavern_Room1_Text_Grunt6Intro, SeafloorCavern_Room1_Text_Grunt6Defeat
msgbox SeafloorCavern_Room1_Text_Grunt6PostBattle, MSGBOX_AUTOCLOSE
SeafloorCavern_Room1_EventScript_Grunt2:: @ 8234803
trainerbattle_single TRAINER_GRUNT_SEAFLOOR_CAVERN_2, SeafloorCavern_Room1_Text_Grunt2Intro, SeafloorCavern_Room1_Text_Grunt2Defeat
msgbox SeafloorCavern_Room1_Text_Grunt2PostBattle, MSGBOX_AUTOCLOSE
end
SeafloorCavern_Room1_Text_Grunt5Intro: @ 823481A
SeafloorCavern_Room1_Text_Grunt1Intro: @ 823481A
.string "We don't need a kid around!\n"
.string "Go on home already!$"
SeafloorCavern_Room1_Text_Grunt5Defeat: @ 823484A
SeafloorCavern_Room1_Text_Grunt1Defeat: @ 823484A
.string "I want to go home…$"
SeafloorCavern_Room1_Text_Grunt5PostBattle: @ 823485D
SeafloorCavern_Room1_Text_Grunt1PostBattle: @ 823485D
.string "I want to get a promotion so I can\n"
.string "boss around the GRUNTS…$"
SeafloorCavern_Room1_Text_Grunt6Intro: @ 8234898
SeafloorCavern_Room1_Text_Grunt2Intro: @ 8234898
.string "That submarine… It's tiny inside.\n"
.string "I'm sore all over!$"
SeafloorCavern_Room1_Text_Grunt6Defeat: @ 82348CD
SeafloorCavern_Room1_Text_Grunt2Defeat: @ 82348CD
.string "Losing makes me sore!$"
SeafloorCavern_Room1_Text_Grunt6PostBattle: @ 82348E3
SeafloorCavern_Room1_Text_Grunt2PostBattle: @ 82348E3
.string "That submarine we jacked, man,\n"
.string "it's brutal as a ride.\l"
.string "It's way too tight in there!$"

View File

@@ -128,7 +128,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
"script": "SeafloorCavern_Room3_EventScript_Grunt27",
"script": "SeafloorCavern_Room3_EventScript_Grunt5",
"flag": "FLAG_HIDE_SEAFLOOR_CAVERN_AQUA_GRUNTS"
}
],

View File

@@ -6,9 +6,9 @@ SeafloorCavern_Room3_EventScript_Shelly:: @ 8234938
msgbox SeafloorCavern_Room3_Text_ShellyPostBattle, MSGBOX_AUTOCLOSE
end
SeafloorCavern_Room3_EventScript_Grunt27:: @ 823494F
trainerbattle_single TRAINER_GRUNT_27, SeafloorCavern_Room3_Text_Grunt27Intro, SeafloorCavern_Room3_Text_Grunt27Defeat
msgbox SeafloorCavern_Room3_Text_Grunt27PostBattle, MSGBOX_AUTOCLOSE
SeafloorCavern_Room3_EventScript_Grunt5:: @ 823494F
trainerbattle_single TRAINER_GRUNT_SEAFLOOR_CAVERN_5, SeafloorCavern_Room3_Text_Grunt5Intro, SeafloorCavern_Room3_Text_Grunt5Defeat
msgbox SeafloorCavern_Room3_Text_Grunt5PostBattle, MSGBOX_AUTOCLOSE
end
SeafloorCavern_Room3_Text_ShellyIntro: @ 8234966
@@ -36,7 +36,7 @@ SeafloorCavern_Room3_Text_ShellyPostBattle: @ 8234A8A
.string "world our BOSS has promised as\l"
.string "one of us…$"
SeafloorCavern_Room3_Text_Grunt27Intro: @ 8234B3A
SeafloorCavern_Room3_Text_Grunt5Intro: @ 8234B3A
.string "For our dream to become real, we need\n"
.string "the power of POKéMON.\p"
.string "But meddlers like you use the power of\n"
@@ -45,10 +45,10 @@ SeafloorCavern_Room3_Text_Grunt27Intro: @ 8234B3A
.string "Life just doesn't work the way we\n"
.string "need it to!$"
SeafloorCavern_Room3_Text_Grunt27Defeat: @ 8234BFE
SeafloorCavern_Room3_Text_Grunt5Defeat: @ 8234BFE
.string "Gwah!$"
SeafloorCavern_Room3_Text_Grunt27PostBattle: @ 8234C04
SeafloorCavern_Room3_Text_Grunt5PostBattle: @ 8234C04
.string "You know, we don't dare question\n"
.string "the motives of our leader.\p"
.string "But here you are, just some punk,\n"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "SeafloorCavern_Room4_EventScript_Grunt7",
"script": "SeafloorCavern_Room4_EventScript_Grunt3",
"flag": "FLAG_HIDE_SEAFLOOR_CAVERN_AQUA_GRUNTS"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "SeafloorCavern_Room4_EventScript_Grunt9",
"script": "SeafloorCavern_Room4_EventScript_Grunt4",
"flag": "FLAG_HIDE_SEAFLOOR_CAVERN_AQUA_GRUNTS"
}
],

View File

@@ -1,35 +1,35 @@
SeafloorCavern_Room4_MapScripts:: @ 8234C9B
.byte 0
SeafloorCavern_Room4_EventScript_Grunt7:: @ 8234C9C
trainerbattle_single TRAINER_GRUNT_7, SeafloorCavern_Room4_Text_Grunt7Intro, SeafloorCavern_Room4_Text_Grunt7Defeat
msgbox SeafloorCavern_Room4_Text_Grunt7PostBattle, MSGBOX_AUTOCLOSE
SeafloorCavern_Room4_EventScript_Grunt3:: @ 8234C9C
trainerbattle_single TRAINER_GRUNT_SEAFLOOR_CAVERN_3, SeafloorCavern_Room4_Text_Grunt3Intro, SeafloorCavern_Room4_Text_Grunt3Defeat
msgbox SeafloorCavern_Room4_Text_Grunt3PostBattle, MSGBOX_AUTOCLOSE
end
SeafloorCavern_Room4_EventScript_Grunt9:: @ 8234CB3
trainerbattle_single TRAINER_GRUNT_9, SeafloorCavern_Room4_Text_Grunt9Intro, SeafloorCavern_Room4_Text_Grunt9Defeat
msgbox SeafloorCavern_Room4_Text_Grunt9PostBattle, MSGBOX_AUTOCLOSE
SeafloorCavern_Room4_EventScript_Grunt4:: @ 8234CB3
trainerbattle_single TRAINER_GRUNT_SEAFLOOR_CAVERN_4, SeafloorCavern_Room4_Text_Grunt4Intro, SeafloorCavern_Room4_Text_Grunt4Defeat
msgbox SeafloorCavern_Room4_Text_Grunt4PostBattle, MSGBOX_AUTOCLOSE
end
SeafloorCavern_Room4_Text_Grunt7Intro: @ 8234CCA
SeafloorCavern_Room4_Text_Grunt3Intro: @ 8234CCA
.string "Who are you?\n"
.string "Where did you come in from?$"
SeafloorCavern_Room4_Text_Grunt7Defeat: @ 8234CF3
SeafloorCavern_Room4_Text_Grunt3Defeat: @ 8234CF3
.string "Lost it…$"
SeafloorCavern_Room4_Text_Grunt7PostBattle: @ 8234CFC
SeafloorCavern_Room4_Text_Grunt3PostBattle: @ 8234CFC
.string "I can't find the way out!\p"
.string "I'm not afraid. Don't get me wrong!$"
SeafloorCavern_Room4_Text_Grunt9Intro: @ 8234D3A
SeafloorCavern_Room4_Text_Grunt4Intro: @ 8234D3A
.string "Who are you?\n"
.string "Where do you think you're going?$"
SeafloorCavern_Room4_Text_Grunt9Defeat: @ 8234D68
SeafloorCavern_Room4_Text_Grunt4Defeat: @ 8234D68
.string "I failed to win!$"
SeafloorCavern_Room4_Text_Grunt9PostBattle: @ 8234D79
SeafloorCavern_Room4_Text_Grunt4PostBattle: @ 8234D79
.string "My partner forgot the map in that\n"
.string "submarine!\p"
.string "How's that for being useless?$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_Mart_EventScript_20DC49",
"script": "SlateportCity_Mart_EventScript_Clerk",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_Mart_EventScript_20DC76",
"script": "SlateportCity_Mart_EventScript_BlackBelt",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_Mart_EventScript_20DC7F",
"script": "SlateportCity_Mart_EventScript_Man",
"flag": "0"
}
],

View File

@@ -1,17 +1,17 @@
SlateportCity_Mart_MapScripts:: @ 820DC48
.byte 0
SlateportCity_Mart_EventScript_20DC49:: @ 820DC49
SlateportCity_Mart_EventScript_Clerk:: @ 820DC49
lock
faceplayer
message gText_HowMayIServeYou
waitmessage
pokemart SlateportCity_Mart_Pokemart_20DC60
pokemart SlateportCity_Mart_Pokemart
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
SlateportCity_Mart_Pokemart_20DC60: @ 820DC60
SlateportCity_Mart_Pokemart: @ 820DC60
.2byte ITEM_POKE_BALL
.2byte ITEM_GREAT_BALL
.2byte ITEM_POTION
@@ -25,21 +25,21 @@ SlateportCity_Mart_Pokemart_20DC60: @ 820DC60
release
end
SlateportCity_Mart_EventScript_20DC76:: @ 820DC76
msgbox SlateportCity_Mart_Text_20DC88, MSGBOX_NPC
SlateportCity_Mart_EventScript_BlackBelt:: @ 820DC76
msgbox SlateportCity_Mart_Text_SomeItemsOnlyAtMart, MSGBOX_NPC
end
SlateportCity_Mart_EventScript_20DC7F:: @ 820DC7F
msgbox SlateportCity_Mart_Text_20DCF8, MSGBOX_NPC
SlateportCity_Mart_EventScript_Man:: @ 820DC7F
msgbox SlateportCity_Mart_Text_GreatBallIsBetter, MSGBOX_NPC
end
SlateportCity_Mart_Text_20DC88: @ 820DC88
SlateportCity_Mart_Text_SomeItemsOnlyAtMart: @ 820DC88
.string "The MARKET does have some interesting\n"
.string "merchandise.\p"
.string "But there are some items you can only\n"
.string "get at a POKéMON MART.$"
SlateportCity_Mart_Text_20DCF8: @ 820DCF8
SlateportCity_Mart_Text_GreatBallIsBetter: @ 820DCF8
.string "A GREAT BALL is better than a POKé BALL\n"
.string "at catching POKéMON.\p"
.string "With this, I should be able to get that\n"

View File

@@ -32,7 +32,7 @@ SlateportCity_OceanicMuseum_2F_EventScript_CaptStern:: @ 820BB00
call_if_eq SlateportCity_OceanicMuseum_2F_EventScript_PlayerApproachGruntSouth
compare VAR_FACING, DIR_WEST
call_if_eq SlateportCity_OceanicMuseum_2F_EventScript_PlayerApproachGruntWest
trainerbattle_no_intro TRAINER_GRUNT_14, SlateportCity_OceanicMuseum_2F_Text_Grunt14Defeat
trainerbattle_no_intro TRAINER_GRUNT_MUSEUM_1, SlateportCity_OceanicMuseum_2F_Text_Grunt1Defeat
msgbox SlateportCity_OceanicMuseum_2F_Text_BossGoingToBeFurious, MSGBOX_DEFAULT
closemessage
applymovement 4, SlateportCity_OceanicMuseum_2F_Movement_GruntDefeated
@@ -40,7 +40,7 @@ SlateportCity_OceanicMuseum_2F_EventScript_CaptStern:: @ 820BB00
applymovement 3, SlateportCity_OceanicMuseum_2F_Movement_GruntApproachToBattle
waitmovement 0
msgbox SlateportCity_OceanicMuseum_2F_Text_LetMeTakeCareOfThis, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_GRUNT_15, SlateportCity_OceanicMuseum_2F_Text_Grunt15Defeat
trainerbattle_no_intro TRAINER_GRUNT_MUSEUM_2, SlateportCity_OceanicMuseum_2F_Text_Grunt2Defeat
applymovement 3, SlateportCity_OceanicMuseum_2F_Movement_GruntDefeated
waitmovement 0
applymovement 3, Common_Movement_WalkInPlaceFastestDown
@@ -295,7 +295,7 @@ SlateportCity_OceanicMuseum_2F_Text_WereTeamAqua: @ 820BE93
.string "Our BOSS wants those parts!\n"
.string "Shut your yap and fork them over!$"
SlateportCity_OceanicMuseum_2F_Text_Grunt14Defeat: @ 820BEE2
SlateportCity_OceanicMuseum_2F_Text_Grunt1Defeat: @ 820BEE2
.string "Awaaaah!\n"
.string "A kid beat me!$"
@@ -307,7 +307,7 @@ SlateportCity_OceanicMuseum_2F_Text_LetMeTakeCareOfThis: @ 820BF35
.string "Humph, sniveling wimp!\n"
.string "Let me take care of this!$"
SlateportCity_OceanicMuseum_2F_Text_Grunt15Defeat: @ 820BF66
SlateportCity_OceanicMuseum_2F_Text_Grunt2Defeat: @ 820BF66
.string "What?!\n"
.string "I lost, too!$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_PokemonCenter_1F_EventScript_20DAD3",
"script": "SlateportCity_PokemonCenter_1F_EventScript_Nurse",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_PokemonCenter_1F_EventScript_20DAE1",
"script": "SlateportCity_PokemonCenter_1F_EventScript_Sailor",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "SlateportCity_PokemonCenter_1F_EventScript_20DAEA",
"script": "SlateportCity_PokemonCenter_1F_EventScript_Woman",
"flag": "0"
}
],

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