- 183
- Posts
- 7
- Years
- Seen Jan 22, 2025
So, as the title says, for some reason, adding a new move effect freezes the game, no matter what code i put in it.
I have it at the end of the list with all the move effects like this:
On battle_move_effects.h
and
On battle_scripts_1.s
No matter what code i put on "BattleScript_EffectChillyReception", the game always softlocks. If I make any other battle effect have chilly reception's effect, it works perfectly, so i really don't know what i'm doing wrong.
I have it at the end of the list with all the move effects like this:
On battle_move_effects.h
Code:
#define EFFECT_EXTREME_EVOBOOST 392
#define EFFECT_DAMAGE_SET_TERRAIN 393
#define EFFECT_CHILLY_RECEPTION 394 // new effect
#define NUM_BATTLE_MOVE_EFFECTS 395
and
On battle_scripts_1.s
Code:
.4byte BattleScript_EffectSteelBeam @ EFFECT_STEEL_BEAM
.4byte BattleScript_EffectExtremeEvoboost @ EFFECT_EXTREME_EVOBOOST
.4byte BattleScript_EffectTerrainHit @ EFFECT_DAMAGE_SET_TERRAIN
.4byte BattleScript_EffectChillyReception @ EFFECT_CHILLY_RECEPTION
No matter what code i put on "BattleScript_EffectChillyReception", the game always softlocks. If I make any other battle effect have chilly reception's effect, it works perfectly, so i really don't know what i'm doing wrong.