Fixed Regirock & Registeel puzzle freezing follower pokemon.
This commit is contained in:
parent
3a1be34d24
commit
87140b9352
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user