• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Battle] New move effect freezes the game, no matter what code it has (Pokeemerald Expansion)

  • 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
    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.
     
    Do you have BattleScript_EffectChillyReception listed in battle_scripts.h?
     
    Back
    Top