mirror of
https://github.com/zeldaret/tp
synced 2026-07-07 14:13:27 -04:00
Lv5key / Iceblock done (#2177)
* obj_lv5key * obj_iceblock done * remove asm
This commit is contained in:
@@ -37,16 +37,16 @@ s32 cLib_distanceAngleS(s16 x, s16 y);
|
||||
|
||||
template <typename T>
|
||||
inline void cLib_offBit(T& value, T bit) {
|
||||
value &= ~bit;
|
||||
value = (T)(value & ~bit);
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
inline void cLib_onBit(T& value, T bit) {
|
||||
value |= bit;
|
||||
value = (T)(value | bit);
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
inline T cLib_checkBit(T& value, T bit) {
|
||||
inline T cLib_checkBit(T value, T bit) {
|
||||
return (T)(value & bit);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user