• 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.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • 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)

  • 182
    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