Commit 56b6f83e authored by mercury233's avatar mercury233 Committed by GitHub

add TIMING_BATTLED (#278)

parent ea410524
...@@ -679,6 +679,7 @@ public: ...@@ -679,6 +679,7 @@ public:
#define TIMING_BATTLE_PHASE 0x1000000 #define TIMING_BATTLE_PHASE 0x1000000
#define TIMING_EQUIP 0x2000000 #define TIMING_EQUIP 0x2000000
#define TIMING_BATTLE_STEP_END 0x4000000 #define TIMING_BATTLE_STEP_END 0x4000000
#define TIMING_BATTLED 0x8000000
#define GLOBALFLAG_DECK_REVERSE_CHECK 0x1 #define GLOBALFLAG_DECK_REVERSE_CHECK 0x1
#define GLOBALFLAG_BRAINWASHING_CHECK 0x2 #define GLOBALFLAG_BRAINWASHING_CHECK 0x2
......
...@@ -3073,6 +3073,8 @@ int32 field::process_battle_command(uint16 step) { ...@@ -3073,6 +3073,8 @@ int32 field::process_battle_command(uint16 step) {
pduel->write_buffer8(HINT_EVENT); pduel->write_buffer8(HINT_EVENT);
pduel->write_buffer8(1); pduel->write_buffer8(1);
pduel->write_buffer32(43); pduel->write_buffer32(43);
core.hint_timing[0] |= TIMING_BATTLED;
core.hint_timing[1] |= TIMING_BATTLED;
add_process(PROCESSOR_POINT_EVENT, 0, 0, 0, 0, TRUE); add_process(PROCESSOR_POINT_EVENT, 0, 0, 0, 0, TRUE);
return FALSE; return FALSE;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment