Fixed Regirock & Registeel puzzle freezing follower pokemon.

This commit is contained in:
Ariel A 2022-06-21 20:03:27 -04:00
parent 3a1be34d24
commit 87140b9352

View file

@ -1,5 +1,6 @@
#include "global.h"
#include "event_data.h"
#include "event_object_movement.h"
#include "field_camera.h"
#include "field_effect.h"
#include "script.h"
@ -214,6 +215,7 @@ static void DoBrailleRegirockEffect(void)
PlaySE(SE_BANG);
FlagSet(FLAG_SYS_REGIROCK_PUZZLE_COMPLETED);
ScriptContext2_Disable();
UnfreezeObjectEvents();
}
bool8 ShouldDoBrailleRegisteelEffect(void)
@ -253,6 +255,7 @@ static void DoBrailleRegisteelEffect(void)
PlaySE(SE_BANG);
FlagSet(FLAG_SYS_REGISTEEL_PUZZLE_COMPLETED);
ScriptContext2_Disable();
UnfreezeObjectEvents();
}
// theory: another commented out DoBrailleWait and Task_BrailleWait.