diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2020-02-11 16:56:09 -0500 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2020-02-11 16:56:09 -0500 |
commit | 32dc21b634c74c2287b94289fdfe08499c626302 (patch) | |
tree | bd3de64ad1e922d2c9f215db70203a4cfd405118 /include | |
parent | 325c5b3f11896b76b8e86c2e0ffab1189cca98b6 (diff) |
Remove defunct macros and move trainer tower pointers and dummy header
Diffstat (limited to 'include')
-rw-r--r-- | include/vs_seeker.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/include/vs_seeker.h b/include/vs_seeker.h index 428278192..2d88417fa 100644 --- a/include/vs_seeker.h +++ b/include/vs_seeker.h @@ -3,25 +3,6 @@ #include "global.h" -#define GET_VS_SEEKER_COUNTER_0() (gSaveBlock1Ptr->trainerRematch.stepCounter & 0xFF) -#define GET_VS_SEEKER_COUNTER_1() (gSaveBlock1Ptr->trainerRematch.stepCounter >> 8) -#define SET_VS_SEEKER_COUNTER_0(x) ({\ - gSaveBlock1Ptr->trainerRematch.stepCounter &= 0xFF00;\ - gSaveBlock1Ptr->trainerRematch.stepCounter |= (x);\ -}) -#define SET_VS_SEEKER_COUNTER_1(x) ({\ - gSaveBlock1Ptr->trainerRematch.stepCounter &= 0x00FF;\ - gSaveBlock1Ptr->trainerRematch.stepCounter |= ((x) << 8);\ -}) -#define INC_VS_SEEKER_COUNTER_0() ({\ - u8 x = GET_VS_SEEKER_COUNTER_0();\ - if (x < 100) gSaveBlock1Ptr->trainerRematch.stepCounter++;\ -}) -#define INC_VS_SEEKER_COUNTER_1() ({\ - u8 x = GET_VS_SEEKER_COUNTER_1();\ - if (x < 100) {x++; SET_VS_SEEKER_COUNTER_1(x);}\ -}) - void sub_810C604(void); void sub_810C640(void); |