Merge branch 'master' of https://github.com/rh-hideout/pokeemerald-expansion into iceFaceRedux
29
README.md
@ -2,14 +2,27 @@
|
|||||||
|
|
||||||
## What is the pokeemerald Expansion?
|
## What is the pokeemerald Expansion?
|
||||||
|
|
||||||
The pokeemerald Expansion is a collection of feature branches that can be integrated into existing [pokeemerald](https://github.com/pret/pokeemerald) projects.
|
The Pokeemerald Expansion is a collection of feature branches that can be integrated into existing [pokeemerald](https://github.com/pret/pokeemerald) projects.
|
||||||
|
|
||||||
## What feature branches are included?
|
## What features are included?
|
||||||
|
- Upgraded battle engine.
|
||||||
|
- Fairy Type.
|
||||||
|
- Physical/Special/Status Category Split.
|
||||||
|
- New moves and abilities up to SwSh.
|
||||||
|
- Options to change behaviors and data by generation.
|
||||||
|
- Mega Evolution and Primal Reversion
|
||||||
|
- Z-Moves
|
||||||
|
- Pokémon Species from newer Generations (with the option to disable them if needed).
|
||||||
|
- Updates Hoenn's Regional Dex to match ORAS'.
|
||||||
|
- Updates National Dex incorporating all the new species.
|
||||||
|
- Option to change base stats by generation.
|
||||||
|
- New evolution methods.
|
||||||
|
- Hidden Abilities data (How to make them available is up to the user).
|
||||||
|
- Items from newer Generations and updated item effects for battle and field use.
|
||||||
|
|
||||||
- **[Battle Engine Upgrade](../tree/battle_engine):** Upgrades the battle engine in pokeemerald to newer Generation games' standards. It also adds newer moves and abilities.
|
Certain mechanics, moves, abilities and species sprites are missing. For more information, see [the project's milestones](https://github.com/rh-hideout/pokeemerald-expansion/milestones).
|
||||||
- **[Pokémon Expansion](../tree/pokemon_expansion):** Adds Pokémon from newer Generations and makes them available in the National Dex. It also updates base stats and other Pokémon info.
|
|
||||||
- **[Item Expansion](../tree/item_expansion):** Adds items from newer Generations and also updates item effects for field use.
|
### [Documentation on features can be found here](https://github.com/rh-hideout/pokeemerald-expansion/wiki)
|
||||||
- **[master](../tree/master):** Combines the above branches into one single branch for the sake of convenience. Note that this branch is only updated once in a while, so you must merge manually if you want the latest features.
|
|
||||||
|
|
||||||
## Who maintains the project?
|
## Who maintains the project?
|
||||||
|
|
||||||
@ -17,9 +30,11 @@ The project was originally started by DizzyEgg alongside other contributors.
|
|||||||
|
|
||||||
The project has now gotten larger and DizzyEgg is now maintaining the project as part of the ROM Hacking Hideout community. Some members of this community are taking on larger roles to help maintain the project.
|
The project has now gotten larger and DizzyEgg is now maintaining the project as part of the ROM Hacking Hideout community. Some members of this community are taking on larger roles to help maintain the project.
|
||||||
|
|
||||||
|
### Please consider crediting the entire [list of contributors](https://github.com/rh-hideout/pokeemerald-expansion/wiki/Credits) in your project, as they have all worked hard to develop this project :)
|
||||||
|
|
||||||
## Can I contribute even if I'm not a member of ROM Hacking Hideout?
|
## Can I contribute even if I'm not a member of ROM Hacking Hideout?
|
||||||
|
|
||||||
Yes! Contributions are welcome via Pull Requests and they will be reviewed by maintainers. Please note that PRs to master are not accepted, as master is only intended to be a merged branch.
|
Yes! Contributions are welcome via Pull Requests and they will be reviewed by maintainers. Don't feel discouraged if we take a bit to review your PR, we'll get to it.
|
||||||
|
|
||||||
## What is ROM Hacking Hideout?
|
## What is ROM Hacking Hideout?
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#include "config.h"
|
||||||
#include "constants/battle.h"
|
#include "constants/battle.h"
|
||||||
#include "constants/battle_anim.h"
|
#include "constants/battle_anim.h"
|
||||||
#include "constants/rgb.h"
|
#include "constants/rgb.h"
|
||||||
@ -779,6 +780,31 @@ gBattleAnims_Moves::
|
|||||||
.4byte Move_GLACIAL_LANCE
|
.4byte Move_GLACIAL_LANCE
|
||||||
.4byte Move_ASTRAL_BARRAGE
|
.4byte Move_ASTRAL_BARRAGE
|
||||||
.4byte Move_EERIE_SPELL
|
.4byte Move_EERIE_SPELL
|
||||||
|
@@@@LA MOVES
|
||||||
|
.4byte Move_DIRE_CLAW
|
||||||
|
.4byte Move_PSYSHIELD_BASH
|
||||||
|
.4byte Move_POWER_SHIFT
|
||||||
|
.4byte Move_STONE_AXE
|
||||||
|
.4byte Move_SPRINGTIDE_STORM
|
||||||
|
.4byte Move_MYSTICAL_POWER
|
||||||
|
.4byte Move_RAGING_FURY
|
||||||
|
.4byte Move_WAVE_CRASH
|
||||||
|
.4byte Move_CHLOROBLAST
|
||||||
|
.4byte Move_MOUNTAIN_GALE
|
||||||
|
.4byte Move_VICTORY_DANCE
|
||||||
|
.4byte Move_HEADLONG_RUSH
|
||||||
|
.4byte Move_BARB_BARRAGE
|
||||||
|
.4byte Move_ESPER_WING
|
||||||
|
.4byte Move_BITTER_MALICE
|
||||||
|
.4byte Move_SHELTER
|
||||||
|
.4byte Move_TRIPLE_ARROWS
|
||||||
|
.4byte Move_INFERNAL_PARADE
|
||||||
|
.4byte Move_CEASELESS_EDGE
|
||||||
|
.4byte Move_BLEAKWIND_STORM
|
||||||
|
.4byte Move_WILDBOLT_STORM
|
||||||
|
.4byte Move_SANDSEAR_STORM
|
||||||
|
.4byte Move_LUNAR_BLESSING
|
||||||
|
.4byte Move_TAKE_HEART
|
||||||
@@@@ Z MOVES
|
@@@@ Z MOVES
|
||||||
.4byte Move_BREAKNECK_BLITZ
|
.4byte Move_BREAKNECK_BLITZ
|
||||||
.4byte Move_ALL_OUT_PUMMELING
|
.4byte Move_ALL_OUT_PUMMELING
|
||||||
@ -868,7 +894,8 @@ gBattleAnims_General::
|
|||||||
.4byte General_AquaRingHeal @ B_ANIM_AQUA_RING_HEAL
|
.4byte General_AquaRingHeal @ B_ANIM_AQUA_RING_HEAL
|
||||||
.4byte General_BeakBlastSetUp @ B_ANIM_BEAK_BLAST_SETUP
|
.4byte General_BeakBlastSetUp @ B_ANIM_BEAK_BLAST_SETUP
|
||||||
.4byte General_ShellTrapSetUp @ B_ANIM_SHELL_TRAP_SETUP
|
.4byte General_ShellTrapSetUp @ B_ANIM_SHELL_TRAP_SETUP
|
||||||
.4byte General_ZMoveActivate @ B_ANIM_ZMOVE_ACTIVATE
|
.4byte General_ZMoveActivate @ B_ANIM_ZMOVE_ACTIVATE
|
||||||
|
.4byte General_AffectionHangedOn @ B_ANIM_AFFECTION_HANGED_ON
|
||||||
|
|
||||||
.align 2
|
.align 2
|
||||||
gBattleAnims_Special::
|
gBattleAnims_Special::
|
||||||
@ -14269,55 +14296,51 @@ Move_POLTERGEIST::
|
|||||||
end
|
end
|
||||||
|
|
||||||
Move_CORROSIVE_GAS::
|
Move_CORROSIVE_GAS::
|
||||||
end @to do:
|
|
||||||
|
|
||||||
Move_COACHING::
|
Move_COACHING::
|
||||||
end @to do:
|
|
||||||
|
|
||||||
Move_FLIP_TURN::
|
Move_FLIP_TURN::
|
||||||
end @to do:
|
|
||||||
|
|
||||||
Move_TRIPLE_AXEL::
|
Move_TRIPLE_AXEL::
|
||||||
end @to do:
|
|
||||||
|
|
||||||
Move_DUAL_WINGBEAT::
|
Move_DUAL_WINGBEAT::
|
||||||
end @to do:
|
|
||||||
|
|
||||||
Move_SCORCHING_SANDS::
|
Move_SCORCHING_SANDS::
|
||||||
end @to do:
|
end @to do
|
||||||
|
|
||||||
Move_JUNGLE_HEALING::
|
Move_JUNGLE_HEALING::
|
||||||
goto Move_AROMATHERAPY
|
goto Move_AROMATHERAPY
|
||||||
|
|
||||||
Move_WICKED_BLOW::
|
Move_WICKED_BLOW::
|
||||||
end @to do:
|
|
||||||
|
|
||||||
Move_SURGING_STRIKES::
|
Move_SURGING_STRIKES::
|
||||||
end @to do:
|
|
||||||
|
|
||||||
Move_THUNDER_CAGE::
|
Move_THUNDER_CAGE::
|
||||||
end @to do:
|
|
||||||
|
|
||||||
Move_DRAGON_ENERGY::
|
Move_DRAGON_ENERGY::
|
||||||
end @to do:
|
|
||||||
|
|
||||||
Move_FREEZING_GLARE::
|
Move_FREEZING_GLARE::
|
||||||
end @to do:
|
|
||||||
|
|
||||||
Move_FIERY_WRATH::
|
Move_FIERY_WRATH::
|
||||||
end @to do:
|
|
||||||
|
|
||||||
Move_THUNDEROUS_KICK::
|
Move_THUNDEROUS_KICK::
|
||||||
end @to do:
|
|
||||||
|
|
||||||
Move_GLACIAL_LANCE::
|
Move_GLACIAL_LANCE::
|
||||||
end @to do:
|
|
||||||
|
|
||||||
Move_ASTRAL_BARRAGE::
|
Move_ASTRAL_BARRAGE::
|
||||||
end @to do:
|
|
||||||
|
|
||||||
Move_EERIE_SPELL::
|
Move_EERIE_SPELL::
|
||||||
end @to do:
|
Move_DIRE_CLAW::
|
||||||
|
Move_PSYSHIELD_BASH::
|
||||||
|
Move_POWER_SHIFT::
|
||||||
|
Move_STONE_AXE::
|
||||||
|
Move_SPRINGTIDE_STORM::
|
||||||
|
Move_MYSTICAL_POWER::
|
||||||
|
Move_RAGING_FURY::
|
||||||
|
Move_WAVE_CRASH::
|
||||||
|
Move_CHLOROBLAST::
|
||||||
|
Move_MOUNTAIN_GALE::
|
||||||
|
Move_VICTORY_DANCE::
|
||||||
|
Move_HEADLONG_RUSH::
|
||||||
|
Move_BARB_BARRAGE::
|
||||||
|
Move_ESPER_WING::
|
||||||
|
Move_BITTER_MALICE::
|
||||||
|
Move_SHELTER::
|
||||||
|
Move_TRIPLE_ARROWS::
|
||||||
|
Move_INFERNAL_PARADE::
|
||||||
|
Move_CEASELESS_EDGE::
|
||||||
|
Move_BLEAKWIND_STORM::
|
||||||
|
Move_WILDBOLT_STORM::
|
||||||
|
Move_SANDSEAR_STORM::
|
||||||
|
Move_LUNAR_BLESSING::
|
||||||
|
Move_TAKE_HEART::
|
||||||
|
end @to do
|
||||||
|
|
||||||
@@@@@@@@@@@@@@@@@@@@@@@ GEN 1-3 @@@@@@@@@@@@@@@@@@@@@@@
|
@@@@@@@@@@@@@@@@@@@@@@@ GEN 1-3 @@@@@@@@@@@@@@@@@@@@@@@
|
||||||
Move_NONE:
|
Move_NONE:
|
||||||
@ -14697,14 +14720,14 @@ Move_DOUBLE_EDGE:
|
|||||||
createsprite gBasicHitSplatSpriteTemplate, ANIM_TARGET, 4, -10, 0, ANIM_TARGET, 0
|
createsprite gBasicHitSplatSpriteTemplate, ANIM_TARGET, 4, -10, 0, ANIM_TARGET, 0
|
||||||
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, 1, -32, 0, 0, 3
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, 1, -32, 0, 0, 3
|
||||||
waitforvisualfinish
|
waitforvisualfinish
|
||||||
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, 0, 0
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_ATTACKER, 0
|
||||||
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, 1, 0
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_TARGET, 0
|
||||||
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_ATTACKER, 4, 0, 12, 1
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_ATTACKER, 4, 0, 12, 1
|
||||||
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 12, 1
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 12, 1
|
||||||
createsprite gSimplePaletteBlendSpriteTemplate, ANIM_ATTACKER, 2, F_PAL_BG, 2, 16, 0, RGB_WHITE
|
createsprite gSimplePaletteBlendSpriteTemplate, ANIM_ATTACKER, 2, F_PAL_BG, 2, 16, 0, RGB_WHITE
|
||||||
waitforvisualfinish
|
waitforvisualfinish
|
||||||
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, 0, 1
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_ATTACKER, 1
|
||||||
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, 1, 1
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_TARGET, 1
|
||||||
waitforvisualfinish
|
waitforvisualfinish
|
||||||
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 5
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 5
|
||||||
delay 3
|
delay 3
|
||||||
@ -16341,7 +16364,7 @@ Move_HORN_ATTACK:
|
|||||||
Move_FURY_ATTACK:
|
Move_FURY_ATTACK:
|
||||||
loadspritegfx ANIM_TAG_IMPACT
|
loadspritegfx ANIM_TAG_IMPACT
|
||||||
loadspritegfx ANIM_TAG_HORN_HIT
|
loadspritegfx ANIM_TAG_HORN_HIT
|
||||||
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 4, 256, 0, 2
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 4, 256, ANIM_ATTACKER, 2
|
||||||
choosetwoturnanim FuryAttackRight, FuryAttackLeft
|
choosetwoturnanim FuryAttackRight, FuryAttackLeft
|
||||||
FuryAttackContinue:
|
FuryAttackContinue:
|
||||||
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 0, 6, 1
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 0, 6, 1
|
||||||
@ -16490,7 +16513,7 @@ Move_LOW_KICK:
|
|||||||
createsprite gSlidingKickSpriteTemplate, ANIM_TARGET, 2, -24, 28, 40, 8, 160, 0
|
createsprite gSlidingKickSpriteTemplate, ANIM_TARGET, 2, -24, 28, 40, 8, 160, 0
|
||||||
delay 4
|
delay 4
|
||||||
createsprite gBasicHitSplatSpriteTemplate, ANIM_TARGET, 2, -8, 8, ANIM_TARGET, 2
|
createsprite gBasicHitSplatSpriteTemplate, ANIM_TARGET, 2, -8, 8, ANIM_TARGET, 2
|
||||||
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 6, 384, 1, 2
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 6, 384, ANIM_TARGET, 2
|
||||||
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
||||||
waitforvisualfinish
|
waitforvisualfinish
|
||||||
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 1, 4
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 1, 4
|
||||||
@ -16735,7 +16758,7 @@ SkullBashSetUpHeadDown:
|
|||||||
createsprite gSlideMonToOffsetAndBackSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, -24, 0, 0, 10, 0
|
createsprite gSlideMonToOffsetAndBackSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, -24, 0, 0, 10, 0
|
||||||
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER
|
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER
|
||||||
waitforvisualfinish
|
waitforvisualfinish
|
||||||
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 16, 96, 0, 2
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 16, 96, ANIM_ATTACKER, 2
|
||||||
waitforvisualfinish
|
waitforvisualfinish
|
||||||
createsprite gSlideMonToOffsetAndBackSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 24, 0, 0, 10, 1
|
createsprite gSlideMonToOffsetAndBackSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 24, 0, 0, 10, 1
|
||||||
waitforvisualfinish
|
waitforvisualfinish
|
||||||
@ -17854,7 +17877,7 @@ Move_MIST_BALL:
|
|||||||
createsprite gComplexPaletteBlendSpriteTemplate, ANIM_ATTACKER, 0, F_PAL_BG, 1, 1, RGB(23, 16, 31), 16, RGB_WHITE, 16
|
createsprite gComplexPaletteBlendSpriteTemplate, ANIM_ATTACKER, 0, F_PAL_BG, 1, 1, RGB(23, 16, 31), 16, RGB_WHITE, 16
|
||||||
delay 0
|
delay 0
|
||||||
playsewithpan SE_M_HAZE, 0
|
playsewithpan SE_M_HAZE, 0
|
||||||
createvisualtask AnimTask_LoadMistTiles, 5
|
createvisualtask AnimTask_MistBallFog, 5
|
||||||
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 3, 0, 16, RGB_WHITE
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 3, 0, 16, RGB_WHITE
|
||||||
delay 8
|
delay 8
|
||||||
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 4, 0, 70, 0
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 4, 0, 70, 0
|
||||||
@ -22454,14 +22477,14 @@ Move_ARM_THRUST:
|
|||||||
loadspritegfx ANIM_TAG_IMPACT
|
loadspritegfx ANIM_TAG_IMPACT
|
||||||
splitbgprio ANIM_TARGET
|
splitbgprio ANIM_TARGET
|
||||||
setalpha 12, 8
|
setalpha 12, 8
|
||||||
createvisualtask AnimTask_RotateMonSpriteToSide, 5, 8, 5, 0, 0
|
createvisualtask AnimTask_RotateMonSpriteToSide, 5, 8, 5, ANIM_ATTACKER, 0
|
||||||
delay 6
|
delay 6
|
||||||
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 4, 3
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 4, 3
|
||||||
delay 4
|
delay 4
|
||||||
playsewithpan SE_M_SWAGGER, SOUND_PAN_TARGET
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_TARGET
|
||||||
createsprite gArmThrustHandSpriteTemplate, ANIM_TARGET, 2, 10, -8, 14, 3
|
createsprite gArmThrustHandSpriteTemplate, ANIM_TARGET, 2, 10, -8, 14, 3
|
||||||
waitforvisualfinish
|
waitforvisualfinish
|
||||||
createvisualtask AnimTask_RotateMonSpriteToSide, 5, 8, 5, 0, 1
|
createvisualtask AnimTask_RotateMonSpriteToSide, 5, 8, 5, ANIM_ATTACKER, 1
|
||||||
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
||||||
choosetwoturnanim ArmThrustRight, ArmThrustLeft
|
choosetwoturnanim ArmThrustRight, ArmThrustLeft
|
||||||
ArmThrustContinue:
|
ArmThrustContinue:
|
||||||
@ -23548,26 +23571,25 @@ Move_SECRET_POWER:
|
|||||||
jumpargeq 0, BATTLE_TERRAIN_PUDDLE, Move_MUD_SHOT
|
jumpargeq 0, BATTLE_TERRAIN_PUDDLE, Move_MUD_SHOT
|
||||||
jumpargeq 0, BATTLE_TERRAIN_MARSH, Move_MUD_SHOT
|
jumpargeq 0, BATTLE_TERRAIN_MARSH, Move_MUD_SHOT
|
||||||
jumpargeq 0, BATTLE_TERRAIN_SWAMP, Move_MUD_SHOT
|
jumpargeq 0, BATTLE_TERRAIN_SWAMP, Move_MUD_SHOT
|
||||||
.if B_SECRET_POWER_ANIMATION >= GEN_7
|
|
||||||
jumpargeq 0, BATTLE_TERRAIN_SNOW, Move_ICE_SHARD
|
|
||||||
.else
|
|
||||||
jumpargeq 0, BATTLE_TERRAIN_SNOW, Move_AVALANCHE
|
|
||||||
.endif
|
|
||||||
jumpargeq 0, BATTLE_TERRAIN_ICE, Move_ICE_SHARD
|
jumpargeq 0, BATTLE_TERRAIN_ICE, Move_ICE_SHARD
|
||||||
jumpargeq 0, BATTLE_TERRAIN_VOLCANO, Move_INCINERATE
|
jumpargeq 0, BATTLE_TERRAIN_VOLCANO, Move_INCINERATE
|
||||||
jumpargeq 0, BATTLE_TERRAIN_DISTORTION_WORLD, Move_POUND
|
jumpargeq 0, BATTLE_TERRAIN_DISTORTION_WORLD, Move_POUND
|
||||||
jumpargeq 0, BATTLE_TERRAIN_SPACE, Move_SWIFT
|
jumpargeq 0, BATTLE_TERRAIN_SPACE, Move_SWIFT
|
||||||
jumpargeq 0, BATTLE_TERRAIN_ULTRA_SPACE, Move_PSYWAVE
|
jumpargeq 0, BATTLE_TERRAIN_ULTRA_SPACE, Move_PSYWAVE
|
||||||
.if B_SECRET_POWER_ANIMATION >= GEN_7
|
.if B_SECRET_POWER_ANIMATION >= GEN_7
|
||||||
|
jumpargeq 0, BATTLE_TERRAIN_SNOW, Move_ICE_SHARD
|
||||||
jumpargeq 0, BATTLE_TERRAIN_BUILDING, Move_SPIT_UP
|
jumpargeq 0, BATTLE_TERRAIN_BUILDING, Move_SPIT_UP
|
||||||
goto Move_SPIT_UP
|
goto Move_SPIT_UP
|
||||||
.elseif B_SECRET_POWER_ANIMATION == GEN_6
|
.elseif B_SECRET_POWER_ANIMATION >= GEN_6
|
||||||
|
jumpargeq 0, BATTLE_TERRAIN_SNOW, Move_AVALANCHE
|
||||||
jumpargeq 0, BATTLE_TERRAIN_BUILDING, Move_BODY_SLAM
|
jumpargeq 0, BATTLE_TERRAIN_BUILDING, Move_BODY_SLAM
|
||||||
goto Move_BODY_SLAM
|
goto Move_BODY_SLAM
|
||||||
.elseif B_SECRET_POWER_ANIMATION == GEN_5 || B_SECRET_POWER_ANIMATION == GEN_4
|
.elseif B_SECRET_POWER_ANIMATION >= GEN_4
|
||||||
|
jumpargeq 0, BATTLE_TERRAIN_SNOW, Move_AVALANCHE
|
||||||
jumpargeq 0, BATTLE_TERRAIN_BUILDING, Move_BODY_SLAM
|
jumpargeq 0, BATTLE_TERRAIN_BUILDING, Move_BODY_SLAM
|
||||||
goto Move_MUD_SLAP
|
goto Move_MUD_SLAP
|
||||||
.else
|
.else
|
||||||
|
jumpargeq 0, BATTLE_TERRAIN_SNOW, Move_AVALANCHE
|
||||||
jumpargeq 0, BATTLE_TERRAIN_BUILDING, Move_STRENGTH
|
jumpargeq 0, BATTLE_TERRAIN_BUILDING, Move_STRENGTH
|
||||||
goto Move_SLAM
|
goto Move_SLAM
|
||||||
.endif
|
.endif
|
||||||
@ -24884,6 +24906,27 @@ PrimalReversionParticles:
|
|||||||
delay 3
|
delay 3
|
||||||
return
|
return
|
||||||
|
|
||||||
|
General_AffectionHangedOn::
|
||||||
|
loadspritegfx ANIM_TAG_RED_HEART
|
||||||
|
loopsewithpan SE_M_CHARM, SOUND_PAN_ATTACKER, 12, 3
|
||||||
|
createvisualtask AnimTask_SwayMon, 5, 0, 12, 4096, 4, ANIM_ATTACKER
|
||||||
|
delay 15
|
||||||
|
launchtask AnimTask_AffectionHangedOn 0x5 0x0
|
||||||
|
jumpargeq 0x0, FRIENDSHIP_100_TO_149, General_AffectionHangedOn_3Hearts
|
||||||
|
jumpargeq 0x0, FRIENDSHIP_150_TO_199, General_AffectionHangedOn_4Hearts
|
||||||
|
jumpargeq 0x0, FRIENDSHIP_200_TO_254, General_AffectionHangedOn_5Hearts
|
||||||
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_ATTACKER, 3, -384, -31
|
||||||
|
General_AffectionHangedOn_5Hearts:
|
||||||
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_ATTACKER, 3, -128, -22
|
||||||
|
General_AffectionHangedOn_4Hearts:
|
||||||
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_ATTACKER, 3, 416, -38
|
||||||
|
General_AffectionHangedOn_3Hearts:
|
||||||
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_ATTACKER, 3, 160, -32
|
||||||
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_ATTACKER, 3, -256, -40
|
||||||
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_ATTACKER, 3, 128, -16
|
||||||
|
waitforvisualfinish
|
||||||
|
end
|
||||||
|
|
||||||
SnatchMoveTrySwapFromSubstitute:
|
SnatchMoveTrySwapFromSubstitute:
|
||||||
createvisualtask AnimTask_IsAttackerBehindSubstitute, 2
|
createvisualtask AnimTask_IsAttackerBehindSubstitute, 2
|
||||||
jumprettrue SnatchMoveSwapSubstituteForMon
|
jumprettrue SnatchMoveSwapSubstituteForMon
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#include "config.h"
|
||||||
#include "constants/global.h"
|
#include "constants/global.h"
|
||||||
#include "constants/battle.h"
|
#include "constants/battle.h"
|
||||||
#include "constants/pokemon.h"
|
#include "constants/pokemon.h"
|
||||||
@ -415,6 +416,41 @@ gBattleScriptsForMoveEffects::
|
|||||||
.4byte BattleScript_EffectExtremeEvoboost @ EFFECT_EXTREME_EVOBOOST
|
.4byte BattleScript_EffectExtremeEvoboost @ EFFECT_EXTREME_EVOBOOST
|
||||||
.4byte BattleScript_EffectTerrainHit @ EFFECT_DAMAGE_SET_TERRAIN
|
.4byte BattleScript_EffectTerrainHit @ EFFECT_DAMAGE_SET_TERRAIN
|
||||||
|
|
||||||
|
BattleScript_AffectionBasedEndurance::
|
||||||
|
playanimation BS_TARGET, B_ANIM_AFFECTION_HANGED_ON
|
||||||
|
printstring STRINGID_TARGETTOUGHEDITOUT
|
||||||
|
waitmessage B_WAIT_TIME_LONG
|
||||||
|
return
|
||||||
|
|
||||||
|
BattleScript_AffectionBasedStatusHeal::
|
||||||
|
jumpifstatus BS_ATTACKER, STATUS1_POISON | STATUS1_TOXIC_POISON, BattleScript_AffectionBasedStatus_HealPoisonString
|
||||||
|
jumpifstatus BS_ATTACKER, STATUS1_SLEEP, BattleScript_AffectionBasedStatus_HealSleepString
|
||||||
|
jumpifstatus BS_ATTACKER, STATUS1_PARALYSIS, BattleScript_AffectionBasedStatus_HealParalysisString
|
||||||
|
jumpifstatus BS_ATTACKER, STATUS1_BURN, BattleScript_AffectionBasedStatus_HealBurnString
|
||||||
|
jumpifstatus BS_ATTACKER, STATUS1_FREEZE, BattleScript_AffectionBasedStatus_HealFreezeString
|
||||||
|
end2
|
||||||
|
BattleScript_AffectionBasedStatus_HealPoisonString:
|
||||||
|
printstring STRINGID_ATTACKEREXPELLEDTHEPOISON
|
||||||
|
goto BattleScript_AffectionBasedStatusHeal_Continue
|
||||||
|
BattleScript_AffectionBasedStatus_HealSleepString:
|
||||||
|
printstring STRINGID_ATTACKERSHOOKITSELFAWAKE
|
||||||
|
goto BattleScript_AffectionBasedStatusHeal_Continue
|
||||||
|
BattleScript_AffectionBasedStatus_HealParalysisString:
|
||||||
|
printstring STRINGID_ATTACKERBROKETHROUGHPARALYSIS
|
||||||
|
goto BattleScript_AffectionBasedStatusHeal_Continue
|
||||||
|
BattleScript_AffectionBasedStatus_HealBurnString:
|
||||||
|
printstring STRINGID_ATTACKERHEALEDITSBURN
|
||||||
|
goto BattleScript_AffectionBasedStatusHeal_Continue
|
||||||
|
BattleScript_AffectionBasedStatus_HealFreezeString:
|
||||||
|
printstring STRINGID_ATTACKERMELTEDTHEICE
|
||||||
|
BattleScript_AffectionBasedStatusHeal_Continue:
|
||||||
|
waitmessage B_WAIT_TIME_LONG
|
||||||
|
clearstatus BS_ATTACKER
|
||||||
|
waitstate
|
||||||
|
updatestatusicon BS_ATTACKER
|
||||||
|
waitstate
|
||||||
|
end2
|
||||||
|
|
||||||
BattleScript_EffectSteelBeam::
|
BattleScript_EffectSteelBeam::
|
||||||
attackcanceler
|
attackcanceler
|
||||||
attackstring
|
attackstring
|
||||||
@ -1981,12 +2017,11 @@ BattleScript_EffectHitSwitchTarget:
|
|||||||
resultmessage
|
resultmessage
|
||||||
waitmessage B_WAIT_TIME_LONG
|
waitmessage B_WAIT_TIME_LONG
|
||||||
tryfaintmon BS_TARGET
|
tryfaintmon BS_TARGET
|
||||||
moveendcase MOVEEND_MAGICIAN @ possibly others?
|
moveendall
|
||||||
jumpifability BS_TARGET, ABILITY_SUCTION_CUPS, BattleScript_AbilityPreventsPhasingOut
|
jumpifability BS_TARGET, ABILITY_SUCTION_CUPS, BattleScript_AbilityPreventsPhasingOut
|
||||||
jumpifstatus3 BS_TARGET, STATUS3_ROOTED, BattleScript_PrintMonIsRooted
|
jumpifstatus3 BS_TARGET, STATUS3_ROOTED, BattleScript_PrintMonIsRooted
|
||||||
tryhitswitchtarget BattleScript_EffectHitSwitchTargetMoveEnd
|
tryhitswitchtarget BattleScript_EffectHitSwitchTargetMoveEnd
|
||||||
BattleScript_EffectHitSwitchTargetMoveEnd:
|
BattleScript_EffectHitSwitchTargetMoveEnd:
|
||||||
moveendall
|
|
||||||
end
|
end
|
||||||
|
|
||||||
BattleScript_EffectClearSmog:
|
BattleScript_EffectClearSmog:
|
||||||
@ -7257,6 +7292,10 @@ BattleScript_SelectingNotAllowedStuffCheeks::
|
|||||||
printselectionstring STRINGID_STUFFCHEEKSCANTSELECT
|
printselectionstring STRINGID_STUFFCHEEKSCANTSELECT
|
||||||
endselectionscript
|
endselectionscript
|
||||||
|
|
||||||
|
BattleScript_SelectingNotAllowedStuffCheeksInPalace::
|
||||||
|
printstring STRINGID_STUFFCHEEKSCANTSELECT
|
||||||
|
goto BattleScript_SelectingUnusableMoveInPalace
|
||||||
|
|
||||||
BattleScript_SelectingNotAllowedBelch::
|
BattleScript_SelectingNotAllowedBelch::
|
||||||
printselectionstring STRINGID_BELCHCANTSELECT
|
printselectionstring STRINGID_BELCHCANTSELECT
|
||||||
endselectionscript
|
endselectionscript
|
||||||
@ -7417,6 +7456,7 @@ BattleScript_MagicCoatBounce::
|
|||||||
printfromtable gMagicCoatBounceStringIds
|
printfromtable gMagicCoatBounceStringIds
|
||||||
waitmessage B_WAIT_TIME_LONG
|
waitmessage B_WAIT_TIME_LONG
|
||||||
orword gHitMarker, HITMARKER_ATTACKSTRING_PRINTED | HITMARKER_NO_PPDEDUCT | HITMARKER_ALLOW_NO_PP
|
orword gHitMarker, HITMARKER_ATTACKSTRING_PRINTED | HITMARKER_NO_PPDEDUCT | HITMARKER_ALLOW_NO_PP
|
||||||
|
bicword gHitMarker, HITMARKER_NO_ATTACKSTRING
|
||||||
setmagiccoattarget BS_ATTACKER
|
setmagiccoattarget BS_ATTACKER
|
||||||
return
|
return
|
||||||
|
|
||||||
@ -9245,14 +9285,34 @@ BattleScript_SelectingNotAllowedMoveChoiceItem::
|
|||||||
printselectionstring STRINGID_ITEMALLOWSONLYYMOVE
|
printselectionstring STRINGID_ITEMALLOWSONLYYMOVE
|
||||||
endselectionscript
|
endselectionscript
|
||||||
|
|
||||||
|
BattleScript_SelectingNotAllowedMoveChoiceItemInPalace::
|
||||||
|
printstring STRINGID_ITEMALLOWSONLYYMOVE
|
||||||
|
goto BattleScript_SelectingUnusableMoveInPalace
|
||||||
|
|
||||||
BattleScript_SelectingNotAllowedMoveGorillaTactics::
|
BattleScript_SelectingNotAllowedMoveGorillaTactics::
|
||||||
printselectionstring STRINGID_ABILITYALLOWSONLYMOVE
|
printselectionstring STRINGID_ABILITYALLOWSONLYMOVE
|
||||||
endselectionscript
|
endselectionscript
|
||||||
|
|
||||||
|
BattleScript_SelectingNotAllowedMoveGorillaTacticsInPalace::
|
||||||
|
printstring STRINGID_ABILITYALLOWSONLYMOVE
|
||||||
|
goto BattleScript_SelectingUnusableMoveInPalace
|
||||||
|
|
||||||
BattleScript_SelectingNotAllowedMoveAssaultVest::
|
BattleScript_SelectingNotAllowedMoveAssaultVest::
|
||||||
printselectionstring STRINGID_ASSAULTVESTDOESNTALLOW
|
printselectionstring STRINGID_ASSAULTVESTDOESNTALLOW
|
||||||
endselectionscript
|
endselectionscript
|
||||||
|
|
||||||
|
BattleScript_SelectingNotAllowedMoveAssaultVestInPalace::
|
||||||
|
printstring STRINGID_ASSAULTVESTDOESNTALLOW
|
||||||
|
goto BattleScript_SelectingUnusableMoveInPalace
|
||||||
|
|
||||||
|
BattleScript_SelectingNotAllowedPlaceholder::
|
||||||
|
printselectionstring STRINGID_NOTDONEYET
|
||||||
|
endselectionscript
|
||||||
|
|
||||||
|
BattleScript_SelectingNotAllowedPlaceholderInPalace::
|
||||||
|
printstring STRINGID_NOTDONEYET
|
||||||
|
goto BattleScript_SelectingUnusableMoveInPalace
|
||||||
|
|
||||||
BattleScript_HangedOnMsg::
|
BattleScript_HangedOnMsg::
|
||||||
playanimation BS_TARGET, B_ANIM_HANGED_ON
|
playanimation BS_TARGET, B_ANIM_HANGED_ON
|
||||||
printstring STRINGID_PKMNHUNGONWITHX
|
printstring STRINGID_PKMNHUNGONWITHX
|
||||||
|
@ -435,11 +435,15 @@ AI_CGM_BetterWhenAudienceExcited:
|
|||||||
AI_CGM_BetterWhenAudienceExcited_1stUp:
|
AI_CGM_BetterWhenAudienceExcited_1stUp:
|
||||||
@ BUG: Should be if_appeal_num_eq 0
|
@ BUG: Should be if_appeal_num_eq 0
|
||||||
@ 1st up on 1st appeal excitement will always be 0
|
@ 1st up on 1st appeal excitement will always be 0
|
||||||
if_appeal_num_not_eq 0, AI_CGM_BetterWhenAudienceExcited_Not1stAppeal
|
.ifdef BUGFIX
|
||||||
|
if_appeal_num_eq 0, AI_CGM_BetterWhenAudienceExcited_1stAppeal
|
||||||
|
.else
|
||||||
|
if_appeal_num_not_eq 0, AI_CGM_BetterWhenAudienceExcited_1stAppeal
|
||||||
|
.endif
|
||||||
if_excitement_eq 4, AI_CGM_BetterWhenAudienceExcited_1AwayFromMax
|
if_excitement_eq 4, AI_CGM_BetterWhenAudienceExcited_1AwayFromMax
|
||||||
if_excitement_eq 3, AI_CGM_BetterWhenAudienceExcited_2AwayFromMax
|
if_excitement_eq 3, AI_CGM_BetterWhenAudienceExcited_2AwayFromMax
|
||||||
end
|
end
|
||||||
AI_CGM_BetterWhenAudienceExcited_Not1stAppeal:
|
AI_CGM_BetterWhenAudienceExcited_1stAppeal:
|
||||||
if_random_less_than 125, AI_CGM_End
|
if_random_less_than 125, AI_CGM_End
|
||||||
score -15
|
score -15
|
||||||
end
|
end
|
||||||
@ -542,7 +546,11 @@ AI_CGM_TargetMonWithJudgesAttention:
|
|||||||
end
|
end
|
||||||
AI_CGM_TargetMonWithJudgesAttention_CheckMon1:
|
AI_CGM_TargetMonWithJudgesAttention_CheckMon1:
|
||||||
if_cannot_participate MON_1, AI_CGM_TargetMonWithJudgesAttention_CheckMon2
|
if_cannot_participate MON_1, AI_CGM_TargetMonWithJudgesAttention_CheckMon2
|
||||||
|
.ifdef BUGFIX
|
||||||
|
if_not_used_combo_starter MON_1, AI_CGM_TargetMonWithJudgesAttention_CheckMon2
|
||||||
|
.else
|
||||||
if_used_combo_starter MON_1, AI_CGM_TargetMonWithJudgesAttention_CheckMon2
|
if_used_combo_starter MON_1, AI_CGM_TargetMonWithJudgesAttention_CheckMon2
|
||||||
|
.endif
|
||||||
if_random_less_than 125, AI_CGM_TargetMonWithJudgesAttention_CheckMon2
|
if_random_less_than 125, AI_CGM_TargetMonWithJudgesAttention_CheckMon2
|
||||||
score +2
|
score +2
|
||||||
if_not_completed_combo MON_1, AI_CGM_TargetMonWithJudgesAttention_CheckMon2
|
if_not_completed_combo MON_1, AI_CGM_TargetMonWithJudgesAttention_CheckMon2
|
||||||
@ -551,7 +559,11 @@ AI_CGM_TargetMonWithJudgesAttention_CheckMon1:
|
|||||||
AI_CGM_TargetMonWithJudgesAttention_CheckMon2:
|
AI_CGM_TargetMonWithJudgesAttention_CheckMon2:
|
||||||
if_user_order_eq MON_2, AI_CGM_End
|
if_user_order_eq MON_2, AI_CGM_End
|
||||||
if_cannot_participate MON_2, AI_CGM_TargetMonWithJudgesAttention_CheckMon3
|
if_cannot_participate MON_2, AI_CGM_TargetMonWithJudgesAttention_CheckMon3
|
||||||
|
.ifdef BUGFIX
|
||||||
|
if_not_used_combo_starter MON_2, AI_CGM_TargetMonWithJudgesAttention_CheckMon3
|
||||||
|
.else
|
||||||
if_used_combo_starter MON_2, AI_CGM_TargetMonWithJudgesAttention_CheckMon3
|
if_used_combo_starter MON_2, AI_CGM_TargetMonWithJudgesAttention_CheckMon3
|
||||||
|
.endif
|
||||||
if_random_less_than 125, AI_CGM_TargetMonWithJudgesAttention_CheckMon3
|
if_random_less_than 125, AI_CGM_TargetMonWithJudgesAttention_CheckMon3
|
||||||
score +2
|
score +2
|
||||||
if_not_completed_combo MON_2, AI_CGM_TargetMonWithJudgesAttention_CheckMon3
|
if_not_completed_combo MON_2, AI_CGM_TargetMonWithJudgesAttention_CheckMon3
|
||||||
@ -560,7 +572,11 @@ AI_CGM_TargetMonWithJudgesAttention_CheckMon2:
|
|||||||
AI_CGM_TargetMonWithJudgesAttention_CheckMon3:
|
AI_CGM_TargetMonWithJudgesAttention_CheckMon3:
|
||||||
if_user_order_eq MON_3, AI_CGM_End
|
if_user_order_eq MON_3, AI_CGM_End
|
||||||
if_cannot_participate MON_3, AI_CGM_End
|
if_cannot_participate MON_3, AI_CGM_End
|
||||||
|
.ifdef BUGFIX
|
||||||
|
if_not_used_combo_starter MON_3, AI_CGM_End
|
||||||
|
.else
|
||||||
if_used_combo_starter MON_3, AI_CGM_End
|
if_used_combo_starter MON_3, AI_CGM_End
|
||||||
|
.endif
|
||||||
if_random_less_than 125, AI_CGM_End
|
if_random_less_than 125, AI_CGM_End
|
||||||
score +2
|
score +2
|
||||||
if_not_completed_combo MON_3, AI_CGM_End
|
if_not_completed_combo MON_3, AI_CGM_End
|
||||||
|
@ -51,7 +51,7 @@
|
|||||||
"trainer_type": "TRAINER_TYPE_NONE",
|
"trainer_type": "TRAINER_TYPE_NONE",
|
||||||
"trainer_sight_or_berry_tree_id": "0",
|
"trainer_sight_or_berry_tree_id": "0",
|
||||||
"script": "AbandonedShip_HiddenFloorRooms_EventScript_ItemTM18",
|
"script": "AbandonedShip_HiddenFloorRooms_EventScript_ItemTM18",
|
||||||
"flag": "FLAG_ITEM_ABANDONED_SHIP_HIDDEN_FLOOR_ROOM_1_TM_18"
|
"flag": "FLAG_ITEM_ABANDONED_SHIP_HIDDEN_FLOOR_ROOM_1_TM18"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
|
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
"trainer_type": "TRAINER_TYPE_NONE",
|
"trainer_type": "TRAINER_TYPE_NONE",
|
||||||
"trainer_sight_or_berry_tree_id": "0",
|
"trainer_sight_or_berry_tree_id": "0",
|
||||||
"script": "AbandonedShip_Room_B1F_EventScript_ItemTM13",
|
"script": "AbandonedShip_Room_B1F_EventScript_ItemTM13",
|
||||||
"flag": "FLAG_ITEM_ABANDONED_SHIP_ROOMS_B1F_TM_13"
|
"flag": "FLAG_ITEM_ABANDONED_SHIP_ROOMS_B1F_TM13"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"warp_events": [
|
"warp_events": [
|
||||||
|
@ -67,51 +67,61 @@ BattleFrontier_Lounge7_EventScript_ChooseNewLeftTutorMove::
|
|||||||
|
|
||||||
BattleFrontier_Lounge7_EventScript_Softboiled::
|
BattleFrontier_Lounge7_EventScript_Softboiled::
|
||||||
setvar VAR_0x8008, 16
|
setvar VAR_0x8008, 16
|
||||||
|
setvar VAR_0x8005, MOVE_SOFT_BOILED
|
||||||
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
||||||
end
|
end
|
||||||
|
|
||||||
BattleFrontier_Lounge7_EventScript_SeismicToss::
|
BattleFrontier_Lounge7_EventScript_SeismicToss::
|
||||||
setvar VAR_0x8008, 24
|
setvar VAR_0x8008, 24
|
||||||
|
setvar VAR_0x8005, MOVE_SEISMIC_TOSS
|
||||||
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
||||||
end
|
end
|
||||||
|
|
||||||
BattleFrontier_Lounge7_EventScript_DreamEater::
|
BattleFrontier_Lounge7_EventScript_DreamEater::
|
||||||
setvar VAR_0x8008, 24
|
setvar VAR_0x8008, 24
|
||||||
|
setvar VAR_0x8005, MOVE_DREAM_EATER
|
||||||
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
||||||
end
|
end
|
||||||
|
|
||||||
BattleFrontier_Lounge7_EventScript_MegaPunch::
|
BattleFrontier_Lounge7_EventScript_MegaPunch::
|
||||||
setvar VAR_0x8008, 24
|
setvar VAR_0x8008, 24
|
||||||
|
setvar VAR_0x8005, MOVE_MEGA_PUNCH
|
||||||
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
||||||
end
|
end
|
||||||
|
|
||||||
BattleFrontier_Lounge7_EventScript_MegaKick::
|
BattleFrontier_Lounge7_EventScript_MegaKick::
|
||||||
setvar VAR_0x8008, 48
|
setvar VAR_0x8008, 48
|
||||||
|
setvar VAR_0x8005, MOVE_MEGA_KICK
|
||||||
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
||||||
end
|
end
|
||||||
|
|
||||||
BattleFrontier_Lounge7_EventScript_BodySlam::
|
BattleFrontier_Lounge7_EventScript_BodySlam::
|
||||||
setvar VAR_0x8008, 48
|
setvar VAR_0x8008, 48
|
||||||
|
setvar VAR_0x8005, MOVE_BODY_SLAM
|
||||||
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
||||||
end
|
end
|
||||||
|
|
||||||
BattleFrontier_Lounge7_EventScript_RockSlide::
|
BattleFrontier_Lounge7_EventScript_RockSlide::
|
||||||
setvar VAR_0x8008, 48
|
setvar VAR_0x8008, 48
|
||||||
|
setvar VAR_0x8005, MOVE_ROCK_SLIDE
|
||||||
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
||||||
end
|
end
|
||||||
|
|
||||||
BattleFrontier_Lounge7_EventScript_Counter::
|
BattleFrontier_Lounge7_EventScript_Counter::
|
||||||
setvar VAR_0x8008, 48
|
setvar VAR_0x8008, 48
|
||||||
|
setvar VAR_0x8005, MOVE_COUNTER
|
||||||
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
||||||
end
|
end
|
||||||
|
|
||||||
BattleFrontier_Lounge7_EventScript_ThunderWave::
|
BattleFrontier_Lounge7_EventScript_ThunderWave::
|
||||||
setvar VAR_0x8008, 48
|
setvar VAR_0x8008, 48
|
||||||
|
setvar VAR_0x8005, MOVE_THUNDER_WAVE
|
||||||
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
||||||
end
|
end
|
||||||
|
|
||||||
BattleFrontier_Lounge7_EventScript_SwordsDance::
|
BattleFrontier_Lounge7_EventScript_SwordsDance::
|
||||||
setvar VAR_0x8008, 48
|
setvar VAR_0x8008, 48
|
||||||
|
setvar VAR_0x8005, MOVE_SWORDS_DANCE
|
||||||
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -135,7 +145,6 @@ BattleFrontier_Lounge7_EventScript_ChooseRightTutorMove::
|
|||||||
waitmessage
|
waitmessage
|
||||||
special ShowBattlePointsWindow
|
special ShowBattlePointsWindow
|
||||||
setvar VAR_TEMP_E, 1
|
setvar VAR_TEMP_E, 1
|
||||||
setvar VAR_0x8004, SCROLL_MULTI_BF_MOVE_TUTOR_2
|
|
||||||
setvar VAR_0x8006, 0
|
setvar VAR_0x8006, 0
|
||||||
special ShowScrollableMultichoice
|
special ShowScrollableMultichoice
|
||||||
waitstate
|
waitstate
|
||||||
@ -159,7 +168,6 @@ BattleFrontier_Lounge7_EventScript_ChooseNewRightTutorMove::
|
|||||||
message BattleFrontier_Lounge7_Text_TeachWhichMove
|
message BattleFrontier_Lounge7_Text_TeachWhichMove
|
||||||
waitmessage
|
waitmessage
|
||||||
setvar VAR_TEMP_E, 1
|
setvar VAR_TEMP_E, 1
|
||||||
setvar VAR_0x8004, SCROLL_MULTI_BF_MOVE_TUTOR_2
|
|
||||||
setvar VAR_0x8006, 1
|
setvar VAR_0x8006, 1
|
||||||
special ShowScrollableMultichoice
|
special ShowScrollableMultichoice
|
||||||
waitstate
|
waitstate
|
||||||
@ -181,51 +189,61 @@ BattleFrontier_Lounge7_EventScript_ChooseNewRightTutorMove::
|
|||||||
|
|
||||||
BattleFrontier_Lounge7_EventScript_DefenseCurl::
|
BattleFrontier_Lounge7_EventScript_DefenseCurl::
|
||||||
setvar VAR_0x8008, 16
|
setvar VAR_0x8008, 16
|
||||||
|
setvar VAR_0x8005, MOVE_DEFENSE_CURL
|
||||||
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
||||||
end
|
end
|
||||||
|
|
||||||
BattleFrontier_Lounge7_EventScript_Snore::
|
BattleFrontier_Lounge7_EventScript_Snore::
|
||||||
setvar VAR_0x8008, 24
|
setvar VAR_0x8008, 24
|
||||||
|
setvar VAR_0x8005, MOVE_SNORE
|
||||||
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
||||||
end
|
end
|
||||||
|
|
||||||
BattleFrontier_Lounge7_EventScript_MudSlap::
|
BattleFrontier_Lounge7_EventScript_MudSlap::
|
||||||
setvar VAR_0x8008, 24
|
setvar VAR_0x8008, 24
|
||||||
|
setvar VAR_0x8005, MOVE_MUD_SLAP
|
||||||
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
||||||
end
|
end
|
||||||
|
|
||||||
BattleFrontier_Lounge7_EventScript_Swift::
|
BattleFrontier_Lounge7_EventScript_Swift::
|
||||||
setvar VAR_0x8008, 24
|
setvar VAR_0x8008, 24
|
||||||
|
setvar VAR_0x8005, MOVE_SWIFT
|
||||||
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
||||||
end
|
end
|
||||||
|
|
||||||
BattleFrontier_Lounge7_EventScript_IcyWind::
|
BattleFrontier_Lounge7_EventScript_IcyWind::
|
||||||
setvar VAR_0x8008, 24
|
setvar VAR_0x8008, 24
|
||||||
|
setvar VAR_0x8005, MOVE_ICY_WIND
|
||||||
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
||||||
end
|
end
|
||||||
|
|
||||||
BattleFrontier_Lounge7_EventScript_Endure::
|
BattleFrontier_Lounge7_EventScript_Endure::
|
||||||
setvar VAR_0x8008, 48
|
setvar VAR_0x8008, 48
|
||||||
|
setvar VAR_0x8005, MOVE_ENDURE
|
||||||
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
||||||
end
|
end
|
||||||
|
|
||||||
BattleFrontier_Lounge7_EventScript_PsychUp::
|
BattleFrontier_Lounge7_EventScript_PsychUp::
|
||||||
setvar VAR_0x8008, 48
|
setvar VAR_0x8008, 48
|
||||||
|
setvar VAR_0x8005, MOVE_PSYCH_UP
|
||||||
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
||||||
end
|
end
|
||||||
|
|
||||||
BattleFrontier_Lounge7_EventScript_IcePunch::
|
BattleFrontier_Lounge7_EventScript_IcePunch::
|
||||||
setvar VAR_0x8008, 48
|
setvar VAR_0x8008, 48
|
||||||
|
setvar VAR_0x8005, MOVE_ICE_PUNCH
|
||||||
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
||||||
end
|
end
|
||||||
|
|
||||||
BattleFrontier_Lounge7_EventScript_ThunderPunch::
|
BattleFrontier_Lounge7_EventScript_ThunderPunch::
|
||||||
setvar VAR_0x8008, 48
|
setvar VAR_0x8008, 48
|
||||||
|
setvar VAR_0x8005, MOVE_THUNDER_PUNCH
|
||||||
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
||||||
end
|
end
|
||||||
|
|
||||||
BattleFrontier_Lounge7_EventScript_FirePunch::
|
BattleFrontier_Lounge7_EventScript_FirePunch::
|
||||||
setvar VAR_0x8008, 48
|
setvar VAR_0x8008, 48
|
||||||
|
setvar VAR_0x8005, MOVE_FIRE_PUNCH
|
||||||
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -246,11 +264,8 @@ BattleFrontier_Lounge7_EventScript_CancelChooseMon::
|
|||||||
@ VAR_TEMP_D is the move selection
|
@ VAR_TEMP_D is the move selection
|
||||||
@ VAR_TEMP_E is which move tutor was spoken to
|
@ VAR_TEMP_E is which move tutor was spoken to
|
||||||
BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection::
|
BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection::
|
||||||
copyvar VAR_0x8004, VAR_TEMP_D
|
|
||||||
copyvar VAR_0x8005, VAR_TEMP_E
|
|
||||||
special BufferBattleFrontierTutorMoveName
|
special BufferBattleFrontierTutorMoveName
|
||||||
buffernumberstring STR_VAR_2, VAR_0x8008
|
buffernumberstring STR_VAR_2, VAR_0x8008
|
||||||
copyvar VAR_0x8004, VAR_TEMP_C
|
|
||||||
msgbox BattleFrontier_Lounge7_Text_MoveWillBeXBattlePoints, MSGBOX_YESNO
|
msgbox BattleFrontier_Lounge7_Text_MoveWillBeXBattlePoints, MSGBOX_YESNO
|
||||||
goto_if_eq VAR_RESULT, NO, BattleFrontier_Lounge7_EventScript_ChooseNewMove
|
goto_if_eq VAR_RESULT, NO, BattleFrontier_Lounge7_EventScript_ChooseNewMove
|
||||||
specialvar VAR_TEMP_1, GetFrontierBattlePoints
|
specialvar VAR_TEMP_1, GetFrontierBattlePoints
|
||||||
@ -261,7 +276,6 @@ BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection::
|
|||||||
|
|
||||||
BattleFrontier_Lounge7_EventScript_TeachTutorMove::
|
BattleFrontier_Lounge7_EventScript_TeachTutorMove::
|
||||||
msgbox BattleFrontier_Lounge7_Text_TeachMoveToWhichMon, MSGBOX_DEFAULT
|
msgbox BattleFrontier_Lounge7_Text_TeachMoveToWhichMon, MSGBOX_DEFAULT
|
||||||
special GetBattleFrontierTutorMoveIndex
|
|
||||||
fadescreen FADE_TO_BLACK
|
fadescreen FADE_TO_BLACK
|
||||||
special CloseBattlePointsWindow
|
special CloseBattlePointsWindow
|
||||||
special CloseBattleFrontierTutorWindow
|
special CloseBattleFrontierTutorWindow
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
"trainer_type": "TRAINER_TYPE_NONE",
|
"trainer_type": "TRAINER_TYPE_NONE",
|
||||||
"trainer_sight_or_berry_tree_id": "0",
|
"trainer_sight_or_berry_tree_id": "0",
|
||||||
"script": "MeteorFalls_1F_1R_EventScript_ItemTM23",
|
"script": "MeteorFalls_1F_1R_EventScript_ItemTM23",
|
||||||
"flag": "FLAG_ITEM_METEOR_FALLS_1F_1R_TM_23"
|
"flag": "FLAG_ITEM_METEOR_FALLS_1F_1R_TM23"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
|
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
"trainer_type": "TRAINER_TYPE_NONE",
|
"trainer_type": "TRAINER_TYPE_NONE",
|
||||||
"trainer_sight_or_berry_tree_id": "0",
|
"trainer_sight_or_berry_tree_id": "0",
|
||||||
"script": "MeteorFalls_B1F_2R_EventScript_ItemTM02",
|
"script": "MeteorFalls_B1F_2R_EventScript_ItemTM02",
|
||||||
"flag": "FLAG_ITEM_METEOR_FALLS_B1F_2R_TM_02"
|
"flag": "FLAG_ITEM_METEOR_FALLS_B1F_2R_TM02"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"warp_events": [
|
"warp_events": [
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
"trainer_type": "TRAINER_TYPE_NONE",
|
"trainer_type": "TRAINER_TYPE_NONE",
|
||||||
"trainer_sight_or_berry_tree_id": "0",
|
"trainer_sight_or_berry_tree_id": "0",
|
||||||
"script": "MtPyre_6F_EventScript_ItemTM30",
|
"script": "MtPyre_6F_EventScript_ItemTM30",
|
||||||
"flag": "FLAG_ITEM_MT_PYRE_6F_TM_30"
|
"flag": "FLAG_ITEM_MT_PYRE_6F_TM30"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"graphics_id": "OBJ_EVENT_GFX_PSYCHIC_M",
|
"graphics_id": "OBJ_EVENT_GFX_PSYCHIC_M",
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
"trainer_type": "TRAINER_TYPE_NONE",
|
"trainer_type": "TRAINER_TYPE_NONE",
|
||||||
"trainer_sight_or_berry_tree_id": "0",
|
"trainer_sight_or_berry_tree_id": "0",
|
||||||
"script": "MtPyre_Exterior_EventScript_ItemTM48",
|
"script": "MtPyre_Exterior_EventScript_ItemTM48",
|
||||||
"flag": "FLAG_ITEM_MT_PYRE_EXTERIOR_TM_48"
|
"flag": "FLAG_ITEM_MT_PYRE_EXTERIOR_TM48"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"warp_events": [
|
"warp_events": [
|
||||||
|
@ -158,7 +158,7 @@
|
|||||||
"y": 9,
|
"y": 9,
|
||||||
"elevation": 0,
|
"elevation": 0,
|
||||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||||
"script": "OldaleTown_EventScript_CitySign"
|
"script": "OldaleTown_EventScript_TownSign"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "sign",
|
"type": "sign",
|
||||||
|
@ -29,8 +29,8 @@ OldaleTown_EventScript_MoveMartEmployee::
|
|||||||
setobjectmovementtype LOCALID_MART_EMPLOYEE, MOVEMENT_TYPE_FACE_DOWN
|
setobjectmovementtype LOCALID_MART_EMPLOYEE, MOVEMENT_TYPE_FACE_DOWN
|
||||||
return
|
return
|
||||||
|
|
||||||
OldaleTown_EventScript_CitySign::
|
OldaleTown_EventScript_TownSign::
|
||||||
msgbox OldaleTown_Text_CitySign, MSGBOX_SIGN
|
msgbox OldaleTown_Text_TownSign, MSGBOX_SIGN
|
||||||
end
|
end
|
||||||
|
|
||||||
OldaleTown_EventScript_Girl::
|
OldaleTown_EventScript_Girl::
|
||||||
@ -395,7 +395,7 @@ OldaleTown_Text_BrendanLetsGoBack:
|
|||||||
.string "LAB now.\l"
|
.string "LAB now.\l"
|
||||||
.string "{PLAYER}, you should hustle back, too.$"
|
.string "{PLAYER}, you should hustle back, too.$"
|
||||||
|
|
||||||
OldaleTown_Text_CitySign:
|
OldaleTown_Text_TownSign:
|
||||||
.string "OLDALE TOWN\n"
|
.string "OLDALE TOWN\n"
|
||||||
.string "“Where things start off scarce.”$"
|
.string "“Where things start off scarce.”$"
|
||||||
|
|
||||||
|
@ -11,9 +11,9 @@ PacifidlogTown_House2_EventScript_FanClubYoungerBrother::
|
|||||||
call_if_unset FLAG_MET_FANCLUB_YOUNGER_BROTHER, PacifidlogTown_House2_EventScript_FirstMonAssessment
|
call_if_unset FLAG_MET_FANCLUB_YOUNGER_BROTHER, PacifidlogTown_House2_EventScript_FirstMonAssessment
|
||||||
setflag FLAG_MET_FANCLUB_YOUNGER_BROTHER
|
setflag FLAG_MET_FANCLUB_YOUNGER_BROTHER
|
||||||
specialvar VAR_RESULT, GetLeadMonFriendshipScore
|
specialvar VAR_RESULT, GetLeadMonFriendshipScore
|
||||||
goto_if_ge VAR_RESULT, 4, PacifidlogTown_House2_EventScript_GiveReturn
|
goto_if_ge VAR_RESULT, FRIENDSHIP_150_TO_199, PacifidlogTown_House2_EventScript_GiveReturn
|
||||||
specialvar VAR_RESULT, GetLeadMonFriendshipScore
|
specialvar VAR_RESULT, GetLeadMonFriendshipScore
|
||||||
goto_if_ge VAR_RESULT, 2, PacifidlogTown_House2_EventScript_PutInEffort
|
goto_if_ge VAR_RESULT, FRIENDSHIP_50_TO_99, PacifidlogTown_House2_EventScript_PutInEffort
|
||||||
goto PacifidlogTown_House2_EventScript_GiveFrustration
|
goto PacifidlogTown_House2_EventScript_GiveFrustration
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -262,7 +262,7 @@
|
|||||||
"trainer_type": "TRAINER_TYPE_NONE",
|
"trainer_type": "TRAINER_TYPE_NONE",
|
||||||
"trainer_sight_or_berry_tree_id": "0",
|
"trainer_sight_or_berry_tree_id": "0",
|
||||||
"script": "Route111_EventScript_ItemTM37",
|
"script": "Route111_EventScript_ItemTM37",
|
||||||
"flag": "FLAG_ITEM_ROUTE_111_TM_37"
|
"flag": "FLAG_ITEM_ROUTE_111_TM37"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"graphics_id": "OBJ_EVENT_GFX_BERRY_TREE",
|
"graphics_id": "OBJ_EVENT_GFX_BERRY_TREE",
|
||||||
|
@ -451,7 +451,7 @@
|
|||||||
"y": 5,
|
"y": 5,
|
||||||
"elevation": 3,
|
"elevation": 3,
|
||||||
"item": "ITEM_TM32",
|
"item": "ITEM_TM32",
|
||||||
"flag": "FLAG_HIDDEN_ITEM_ROUTE_113_TM_32"
|
"flag": "FLAG_HIDDEN_ITEM_ROUTE_113_TM32"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "hidden_item",
|
"type": "hidden_item",
|
||||||
|
@ -166,7 +166,7 @@
|
|||||||
"trainer_type": "TRAINER_TYPE_NONE",
|
"trainer_type": "TRAINER_TYPE_NONE",
|
||||||
"trainer_sight_or_berry_tree_id": "0",
|
"trainer_sight_or_berry_tree_id": "0",
|
||||||
"script": "Route115_EventScript_ItemTM01",
|
"script": "Route115_EventScript_ItemTM01",
|
||||||
"flag": "FLAG_ITEM_ROUTE_115_TM_01"
|
"flag": "FLAG_ITEM_ROUTE_115_TM01"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
|
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
|
||||||
|
@ -49,7 +49,7 @@
|
|||||||
"trainer_type": "TRAINER_TYPE_NONE",
|
"trainer_type": "TRAINER_TYPE_NONE",
|
||||||
"trainer_sight_or_berry_tree_id": "0",
|
"trainer_sight_or_berry_tree_id": "0",
|
||||||
"script": "SafariZone_Northwest_EventScript_ItemTM22",
|
"script": "SafariZone_Northwest_EventScript_ItemTM22",
|
||||||
"flag": "FLAG_ITEM_SAFARI_ZONE_NORTH_WEST_TM_22"
|
"flag": "FLAG_ITEM_SAFARI_ZONE_NORTH_WEST_TM22"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"warp_events": [],
|
"warp_events": [],
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
"trainer_type": "TRAINER_TYPE_NONE",
|
"trainer_type": "TRAINER_TYPE_NONE",
|
||||||
"trainer_sight_or_berry_tree_id": "0",
|
"trainer_sight_or_berry_tree_id": "0",
|
||||||
"script": "ScorchedSlab_EventScript_ItemTM11",
|
"script": "ScorchedSlab_EventScript_ItemTM11",
|
||||||
"flag": "FLAG_ITEM_SCORCHED_SLAB_TM_11"
|
"flag": "FLAG_ITEM_SCORCHED_SLAB_TM11"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"warp_events": [
|
"warp_events": [
|
||||||
|
@ -90,7 +90,7 @@
|
|||||||
"trainer_type": "TRAINER_TYPE_NONE",
|
"trainer_type": "TRAINER_TYPE_NONE",
|
||||||
"trainer_sight_or_berry_tree_id": "0",
|
"trainer_sight_or_berry_tree_id": "0",
|
||||||
"script": "SeafloorCavern_Room9_EventScript_ItemTM26",
|
"script": "SeafloorCavern_Room9_EventScript_ItemTM26",
|
||||||
"flag": "FLAG_ITEM_SEAFLOOR_CAVERN_ROOM_9_TM_26"
|
"flag": "FLAG_ITEM_SEAFLOOR_CAVERN_ROOM_9_TM26"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"graphics_id": "OBJ_EVENT_GFX_KYOGRE_ASLEEP",
|
"graphics_id": "OBJ_EVENT_GFX_KYOGRE_ASLEEP",
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
"trainer_type": "TRAINER_TYPE_NONE",
|
"trainer_type": "TRAINER_TYPE_NONE",
|
||||||
"trainer_sight_or_berry_tree_id": "0",
|
"trainer_sight_or_berry_tree_id": "0",
|
||||||
"script": "ShoalCave_LowTideIceRoom_EventScript_ItemTM07",
|
"script": "ShoalCave_LowTideIceRoom_EventScript_ItemTM07",
|
||||||
"flag": "FLAG_ITEM_SHOAL_CAVE_ICE_ROOM_TM_07"
|
"flag": "FLAG_ITEM_SHOAL_CAVE_ICE_ROOM_TM07"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
|
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
|
||||||
|
@ -192,7 +192,7 @@ SlateportCity_PokemonFanClub_EventScript_SootheBellWoman::
|
|||||||
goto_if_set FLAG_RECEIVED_SOOTHE_BELL, SlateportCity_PokemonFanClub_EventScript_ReceivedSootheBell
|
goto_if_set FLAG_RECEIVED_SOOTHE_BELL, SlateportCity_PokemonFanClub_EventScript_ReceivedSootheBell
|
||||||
msgbox SlateportCity_PokemonFanClub_Text_ShowMePokemonThatLoveYou, MSGBOX_DEFAULT
|
msgbox SlateportCity_PokemonFanClub_Text_ShowMePokemonThatLoveYou, MSGBOX_DEFAULT
|
||||||
specialvar VAR_RESULT, GetLeadMonFriendshipScore
|
specialvar VAR_RESULT, GetLeadMonFriendshipScore
|
||||||
goto_if_ge VAR_RESULT, 4, SlateportCity_PokemonFanClub_EventScript_GiveSootheBell
|
goto_if_ge VAR_RESULT, FRIENDSHIP_150_TO_199, SlateportCity_PokemonFanClub_EventScript_GiveSootheBell
|
||||||
release
|
release
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -7,13 +7,13 @@ VerdanturfTown_FriendshipRatersHouse_EventScript_FriendshipRater::
|
|||||||
msgbox VerdanturfTown_FriendshipRatersHouse_Text_SeeHowMuchPokemonLikesYou, MSGBOX_DEFAULT
|
msgbox VerdanturfTown_FriendshipRatersHouse_Text_SeeHowMuchPokemonLikesYou, MSGBOX_DEFAULT
|
||||||
specialvar VAR_RESULT, GetLeadMonFriendshipScore
|
specialvar VAR_RESULT, GetLeadMonFriendshipScore
|
||||||
switch VAR_RESULT
|
switch VAR_RESULT
|
||||||
case 0, VerdanturfTown_FriendshipRatersHouse_EventScript_DetestsYou
|
case FRIENDSHIP_NONE, VerdanturfTown_FriendshipRatersHouse_EventScript_DetestsYou
|
||||||
case 1, VerdanturfTown_FriendshipRatersHouse_EventScript_VeryWary
|
case FRIENDSHIP_1_TO_49, VerdanturfTown_FriendshipRatersHouse_EventScript_VeryWary
|
||||||
case 2, VerdanturfTown_FriendshipRatersHouse_EventScript_NotUsedToYou
|
case FRIENDSHIP_50_TO_99, VerdanturfTown_FriendshipRatersHouse_EventScript_NotUsedToYou
|
||||||
case 3, VerdanturfTown_FriendshipRatersHouse_EventScript_GettingUsedToYou
|
case FRIENDSHIP_100_TO_149, VerdanturfTown_FriendshipRatersHouse_EventScript_GettingUsedToYou
|
||||||
case 4, VerdanturfTown_FriendshipRatersHouse_EventScript_LikesYouQuiteALot
|
case FRIENDSHIP_150_TO_199, VerdanturfTown_FriendshipRatersHouse_EventScript_LikesYouQuiteALot
|
||||||
case 5, VerdanturfTown_FriendshipRatersHouse_EventScript_VeryHappy
|
case FRIENDSHIP_200_TO_254, VerdanturfTown_FriendshipRatersHouse_EventScript_VeryHappy
|
||||||
case 6, VerdanturfTown_FriendshipRatersHouse_EventScript_AdoresYou
|
case FRIENDSHIP_MAX, VerdanturfTown_FriendshipRatersHouse_EventScript_AdoresYou
|
||||||
release
|
release
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -246,7 +246,7 @@
|
|||||||
"trainer_type": "TRAINER_TYPE_NONE",
|
"trainer_type": "TRAINER_TYPE_NONE",
|
||||||
"trainer_sight_or_berry_tree_id": "0",
|
"trainer_sight_or_berry_tree_id": "0",
|
||||||
"script": "VictoryRoad_B1F_EventScript_ItemTM29",
|
"script": "VictoryRoad_B1F_EventScript_ItemTM29",
|
||||||
"flag": "FLAG_ITEM_VICTORY_ROAD_B1F_TM_29"
|
"flag": "FLAG_ITEM_VICTORY_ROAD_B1F_TM29"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
|
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
|
||||||
|
@ -7,7 +7,7 @@ SlateportCity_PokemonFanClub_EventScript_SwaggerTutor::
|
|||||||
call MoveTutor_EventScript_CanOnlyBeLearnedOnce
|
call MoveTutor_EventScript_CanOnlyBeLearnedOnce
|
||||||
goto_if_eq VAR_RESULT, NO, MoveTutor_EventScript_SwaggerDeclined
|
goto_if_eq VAR_RESULT, NO, MoveTutor_EventScript_SwaggerDeclined
|
||||||
msgbox MoveTutor_Text_SwaggerWhichMon, MSGBOX_DEFAULT
|
msgbox MoveTutor_Text_SwaggerWhichMon, MSGBOX_DEFAULT
|
||||||
setvar VAR_0x8005, TUTOR_MOVE_SWAGGER
|
setvar VAR_0x8005, MOVE_SWAGGER
|
||||||
call MoveTutor_EventScript_OpenPartyMenu
|
call MoveTutor_EventScript_OpenPartyMenu
|
||||||
goto_if_eq VAR_RESULT, 0, MoveTutor_EventScript_SwaggerDeclined
|
goto_if_eq VAR_RESULT, 0, MoveTutor_EventScript_SwaggerDeclined
|
||||||
setflag FLAG_MOVE_TUTOR_TAUGHT_SWAGGER
|
setflag FLAG_MOVE_TUTOR_TAUGHT_SWAGGER
|
||||||
@ -33,7 +33,7 @@ MauvilleCity_EventScript_RolloutTutor::
|
|||||||
call MoveTutor_EventScript_CanOnlyBeLearnedOnce
|
call MoveTutor_EventScript_CanOnlyBeLearnedOnce
|
||||||
goto_if_eq VAR_RESULT, NO, MoveTutor_EventScript_RolloutDeclined
|
goto_if_eq VAR_RESULT, NO, MoveTutor_EventScript_RolloutDeclined
|
||||||
msgbox MoveTutor_Text_RolloutWhichMon, MSGBOX_DEFAULT
|
msgbox MoveTutor_Text_RolloutWhichMon, MSGBOX_DEFAULT
|
||||||
setvar VAR_0x8005, TUTOR_MOVE_ROLLOUT
|
setvar VAR_0x8005, MOVE_ROLLOUT
|
||||||
call MoveTutor_EventScript_OpenPartyMenu
|
call MoveTutor_EventScript_OpenPartyMenu
|
||||||
goto_if_eq VAR_RESULT, 0, MoveTutor_EventScript_RolloutDeclined
|
goto_if_eq VAR_RESULT, 0, MoveTutor_EventScript_RolloutDeclined
|
||||||
setflag FLAG_MOVE_TUTOR_TAUGHT_ROLLOUT
|
setflag FLAG_MOVE_TUTOR_TAUGHT_ROLLOUT
|
||||||
@ -59,7 +59,7 @@ VerdanturfTown_PokemonCenter_1F_EventScript_FuryCutterTutor::
|
|||||||
call MoveTutor_EventScript_CanOnlyBeLearnedOnce
|
call MoveTutor_EventScript_CanOnlyBeLearnedOnce
|
||||||
goto_if_eq VAR_RESULT, NO, MoveTutor_EventScript_FuryCutterDeclined
|
goto_if_eq VAR_RESULT, NO, MoveTutor_EventScript_FuryCutterDeclined
|
||||||
msgbox MoveTutor_Text_FuryCutterWhichMon, MSGBOX_DEFAULT
|
msgbox MoveTutor_Text_FuryCutterWhichMon, MSGBOX_DEFAULT
|
||||||
setvar VAR_0x8005, TUTOR_MOVE_FURY_CUTTER
|
setvar VAR_0x8005, MOVE_FURY_CUTTER
|
||||||
call MoveTutor_EventScript_OpenPartyMenu
|
call MoveTutor_EventScript_OpenPartyMenu
|
||||||
goto_if_eq VAR_RESULT, 0, MoveTutor_EventScript_FuryCutterDeclined
|
goto_if_eq VAR_RESULT, 0, MoveTutor_EventScript_FuryCutterDeclined
|
||||||
setflag FLAG_MOVE_TUTOR_TAUGHT_FURY_CUTTER
|
setflag FLAG_MOVE_TUTOR_TAUGHT_FURY_CUTTER
|
||||||
@ -85,7 +85,7 @@ LavaridgeTown_House_EventScript_MimicTutor::
|
|||||||
call MoveTutor_EventScript_CanOnlyBeLearnedOnce
|
call MoveTutor_EventScript_CanOnlyBeLearnedOnce
|
||||||
goto_if_eq VAR_RESULT, NO, MoveTutor_EventScript_MimicDeclined
|
goto_if_eq VAR_RESULT, NO, MoveTutor_EventScript_MimicDeclined
|
||||||
msgbox MoveTutor_Text_MimicWhichMon, MSGBOX_DEFAULT
|
msgbox MoveTutor_Text_MimicWhichMon, MSGBOX_DEFAULT
|
||||||
setvar VAR_0x8005, TUTOR_MOVE_MIMIC
|
setvar VAR_0x8005, MOVE_MIMIC
|
||||||
call MoveTutor_EventScript_OpenPartyMenu
|
call MoveTutor_EventScript_OpenPartyMenu
|
||||||
goto_if_eq VAR_RESULT, 0, MoveTutor_EventScript_MimicDeclined
|
goto_if_eq VAR_RESULT, 0, MoveTutor_EventScript_MimicDeclined
|
||||||
setflag FLAG_MOVE_TUTOR_TAUGHT_MIMIC
|
setflag FLAG_MOVE_TUTOR_TAUGHT_MIMIC
|
||||||
@ -111,7 +111,7 @@ FallarborTown_Mart_EventScript_MetronomeTutor::
|
|||||||
call MoveTutor_EventScript_CanOnlyBeLearnedOnce
|
call MoveTutor_EventScript_CanOnlyBeLearnedOnce
|
||||||
goto_if_eq VAR_RESULT, NO, MoveTutor_EventScript_MetronomeDeclined
|
goto_if_eq VAR_RESULT, NO, MoveTutor_EventScript_MetronomeDeclined
|
||||||
msgbox MoveTutor_Text_MetronomeWhichMon, MSGBOX_DEFAULT
|
msgbox MoveTutor_Text_MetronomeWhichMon, MSGBOX_DEFAULT
|
||||||
setvar VAR_0x8005, TUTOR_MOVE_METRONOME
|
setvar VAR_0x8005, MOVE_METRONOME
|
||||||
call MoveTutor_EventScript_OpenPartyMenu
|
call MoveTutor_EventScript_OpenPartyMenu
|
||||||
goto_if_eq VAR_RESULT, 0, MoveTutor_EventScript_MetronomeDeclined
|
goto_if_eq VAR_RESULT, 0, MoveTutor_EventScript_MetronomeDeclined
|
||||||
setflag FLAG_MOVE_TUTOR_TAUGHT_METRONOME
|
setflag FLAG_MOVE_TUTOR_TAUGHT_METRONOME
|
||||||
@ -137,7 +137,7 @@ FortreeCity_House2_EventScript_SleepTalkTutor::
|
|||||||
call MoveTutor_EventScript_CanOnlyBeLearnedOnce
|
call MoveTutor_EventScript_CanOnlyBeLearnedOnce
|
||||||
goto_if_eq VAR_RESULT, NO, MoveTutor_EventScript_SleepTalkDeclined
|
goto_if_eq VAR_RESULT, NO, MoveTutor_EventScript_SleepTalkDeclined
|
||||||
msgbox MoveTutor_Text_SleepTalkWhichMon, MSGBOX_DEFAULT
|
msgbox MoveTutor_Text_SleepTalkWhichMon, MSGBOX_DEFAULT
|
||||||
setvar VAR_0x8005, TUTOR_MOVE_SLEEP_TALK
|
setvar VAR_0x8005, MOVE_SLEEP_TALK
|
||||||
call MoveTutor_EventScript_OpenPartyMenu
|
call MoveTutor_EventScript_OpenPartyMenu
|
||||||
goto_if_eq VAR_RESULT, 0, MoveTutor_EventScript_SleepTalkDeclined
|
goto_if_eq VAR_RESULT, 0, MoveTutor_EventScript_SleepTalkDeclined
|
||||||
setflag FLAG_MOVE_TUTOR_TAUGHT_SLEEP_TALK
|
setflag FLAG_MOVE_TUTOR_TAUGHT_SLEEP_TALK
|
||||||
@ -163,7 +163,7 @@ LilycoveCity_DepartmentStoreRooftop_EventScript_SubstituteTutor::
|
|||||||
call MoveTutor_EventScript_CanOnlyBeLearnedOnce
|
call MoveTutor_EventScript_CanOnlyBeLearnedOnce
|
||||||
goto_if_eq VAR_RESULT, NO, MoveTutor_EventScript_SubstituteDeclined
|
goto_if_eq VAR_RESULT, NO, MoveTutor_EventScript_SubstituteDeclined
|
||||||
msgbox MoveTutor_Text_SubstituteWhichMon, MSGBOX_DEFAULT
|
msgbox MoveTutor_Text_SubstituteWhichMon, MSGBOX_DEFAULT
|
||||||
setvar VAR_0x8005, TUTOR_MOVE_SUBSTITUTE
|
setvar VAR_0x8005, MOVE_SUBSTITUTE
|
||||||
call MoveTutor_EventScript_OpenPartyMenu
|
call MoveTutor_EventScript_OpenPartyMenu
|
||||||
goto_if_eq VAR_RESULT, 0, MoveTutor_EventScript_SubstituteDeclined
|
goto_if_eq VAR_RESULT, 0, MoveTutor_EventScript_SubstituteDeclined
|
||||||
setflag FLAG_MOVE_TUTOR_TAUGHT_SUBSTITUTE
|
setflag FLAG_MOVE_TUTOR_TAUGHT_SUBSTITUTE
|
||||||
@ -189,7 +189,7 @@ MossdeepCity_EventScript_DynamicPunchTutor::
|
|||||||
call MoveTutor_EventScript_CanOnlyBeLearnedOnce
|
call MoveTutor_EventScript_CanOnlyBeLearnedOnce
|
||||||
goto_if_eq VAR_RESULT, NO, MoveTutor_EventScript_DynamicPunchDeclined
|
goto_if_eq VAR_RESULT, NO, MoveTutor_EventScript_DynamicPunchDeclined
|
||||||
msgbox MoveTutor_Text_DynamicPunchWhichMon, MSGBOX_DEFAULT
|
msgbox MoveTutor_Text_DynamicPunchWhichMon, MSGBOX_DEFAULT
|
||||||
setvar VAR_0x8005, TUTOR_MOVE_DYNAMIC_PUNCH
|
setvar VAR_0x8005, MOVE_DYNAMIC_PUNCH
|
||||||
call MoveTutor_EventScript_OpenPartyMenu
|
call MoveTutor_EventScript_OpenPartyMenu
|
||||||
goto_if_eq VAR_RESULT, 0, MoveTutor_EventScript_DynamicPunchDeclined
|
goto_if_eq VAR_RESULT, 0, MoveTutor_EventScript_DynamicPunchDeclined
|
||||||
setflag FLAG_MOVE_TUTOR_TAUGHT_DYNAMICPUNCH
|
setflag FLAG_MOVE_TUTOR_TAUGHT_DYNAMICPUNCH
|
||||||
@ -215,7 +215,7 @@ SootopolisCity_PokemonCenter_1F_EventScript_DoubleEdgeTutor::
|
|||||||
call MoveTutor_EventScript_CanOnlyBeLearnedOnce
|
call MoveTutor_EventScript_CanOnlyBeLearnedOnce
|
||||||
goto_if_eq VAR_RESULT, NO, MoveTutor_EventScript_DoubleEdgeDeclined
|
goto_if_eq VAR_RESULT, NO, MoveTutor_EventScript_DoubleEdgeDeclined
|
||||||
msgbox MoveTutor_Text_DoubleEdgeWhichMon, MSGBOX_DEFAULT
|
msgbox MoveTutor_Text_DoubleEdgeWhichMon, MSGBOX_DEFAULT
|
||||||
setvar VAR_0x8005, TUTOR_MOVE_DOUBLE_EDGE
|
setvar VAR_0x8005, MOVE_DOUBLE_EDGE
|
||||||
call MoveTutor_EventScript_OpenPartyMenu
|
call MoveTutor_EventScript_OpenPartyMenu
|
||||||
goto_if_eq VAR_RESULT, 0, MoveTutor_EventScript_DoubleEdgeDeclined
|
goto_if_eq VAR_RESULT, 0, MoveTutor_EventScript_DoubleEdgeDeclined
|
||||||
setflag FLAG_MOVE_TUTOR_TAUGHT_DOUBLE_EDGE
|
setflag FLAG_MOVE_TUTOR_TAUGHT_DOUBLE_EDGE
|
||||||
@ -241,7 +241,7 @@ PacifidlogTown_PokemonCenter_1F_EventScript_ExplosionTutor::
|
|||||||
call MoveTutor_EventScript_CanOnlyBeLearnedOnce
|
call MoveTutor_EventScript_CanOnlyBeLearnedOnce
|
||||||
goto_if_eq VAR_RESULT, NO, MoveTutor_EventScript_ExplosionDeclined
|
goto_if_eq VAR_RESULT, NO, MoveTutor_EventScript_ExplosionDeclined
|
||||||
msgbox MoveTutor_Text_ExplosionWhichMon, MSGBOX_DEFAULT
|
msgbox MoveTutor_Text_ExplosionWhichMon, MSGBOX_DEFAULT
|
||||||
setvar VAR_0x8005, TUTOR_MOVE_EXPLOSION
|
setvar VAR_0x8005, MOVE_EXPLOSION
|
||||||
call MoveTutor_EventScript_OpenPartyMenu
|
call MoveTutor_EventScript_OpenPartyMenu
|
||||||
goto_if_eq VAR_RESULT, 0, MoveTutor_EventScript_ExplosionDeclined
|
goto_if_eq VAR_RESULT, 0, MoveTutor_EventScript_ExplosionDeclined
|
||||||
setflag FLAG_MOVE_TUTOR_TAUGHT_EXPLOSION
|
setflag FLAG_MOVE_TUTOR_TAUGHT_EXPLOSION
|
||||||
|
@ -486,7 +486,6 @@ gSpecials::
|
|||||||
def_special CloseBattleFrontierTutorWindow
|
def_special CloseBattleFrontierTutorWindow
|
||||||
def_special ScrollableMultichoice_RedrawPersistentMenu
|
def_special ScrollableMultichoice_RedrawPersistentMenu
|
||||||
def_special ChooseMonForMoveTutor
|
def_special ChooseMonForMoveTutor
|
||||||
def_special GetBattleFrontierTutorMoveIndex
|
|
||||||
def_special ScrollableMultichoice_ClosePersistentMenu
|
def_special ScrollableMultichoice_ClosePersistentMenu
|
||||||
def_special DoDeoxysRockInteraction
|
def_special DoDeoxysRockInteraction
|
||||||
def_special SetDeoxysRockPalette
|
def_special SetDeoxysRockPalette
|
||||||
|
@ -103,7 +103,7 @@ typedef void (*AffineAnimCmdFunc)(u8 matrixNum, struct Sprite *);
|
|||||||
#define DUMMY_OAM_DATA \
|
#define DUMMY_OAM_DATA \
|
||||||
{ \
|
{ \
|
||||||
.y = DISPLAY_HEIGHT, \
|
.y = DISPLAY_HEIGHT, \
|
||||||
.affineMode = 0, \
|
.affineMode = ST_OAM_AFFINE_OFF, \
|
||||||
.objMode = 0, \
|
.objMode = 0, \
|
||||||
.mosaic = FALSE, \
|
.mosaic = FALSE, \
|
||||||
.bpp = 0, \
|
.bpp = 0, \
|
||||||
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 984 B After Width: | Height: | Size: 984 B |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 519 B After Width: | Height: | Size: 519 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 540 B After Width: | Height: | Size: 540 B |
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.0 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |