Use enums across more scripts and files

This commit is contained in:
Tal Hayon
2022-05-14 20:51:30 +03:00
parent 422fb8ed14
commit 968e200c78
259 changed files with 876 additions and 1318 deletions
+2 -2
View File
@@ -72,9 +72,9 @@ void sub_080300E8(void) {
void sub_08030118(u32 param_1) {
if (((s32)(u32)gRoomTransition.armos_data.field_0xac >> (param_1)&1) != 0) {
SetLocalFlagByBank(0x300, param_1 + 0x67);
SetLocalFlagByBank(FLAG_BANK_3, param_1 + 0x67);
} else {
ClearLocalFlagByBank(0x300, param_1 + 0x67);
ClearLocalFlagByBank(FLAG_BANK_3, param_1 + 0x67);
}
}
+1 -1
View File
@@ -250,7 +250,7 @@ NONMATCH("asm/non_matching/gleerok/sub_0802D3B8.inc", void sub_0802D3B8(GleerokE
u8* ptr;
u8* ptr2;
if (CheckGlobalFlag(3)) {
if (CheckGlobalFlag(LV2_CLEAR)) {
gScreen.lcd.displayControl &= 0xFDFF;
sub_0807AABC(&gPlayerEntity);
DeleteThisEntity();