Added enums for all used event/tmp bits/regs (#893)

This commit is contained in:
LagoLunatic
2025-09-19 15:06:44 -04:00
committed by GitHub
parent 8af44daa2e
commit 5dbb7e875e
110 changed files with 1906 additions and 1178 deletions
+4 -4
View File
@@ -1029,8 +1029,8 @@ void ShopItems_c::createItem(int numItems, int roomNo) {
Item_set_pos_data_tbl[mItemSetListGlobalIdx][0].z
);
dComIfGs_isEventBit(0x0D04);
dComIfGs_isEventBit(0x0D02);
dComIfGs_isEventBit(dSv_event_flag_c::UNK_0D04);
dComIfGs_isEventBit(dSv_event_flag_c::UNK_0D02);
mItemActorProcessIds[0] = fopAcM_createShopItem(
&pos, Item_set_data_tbl[mItemSetListGlobalIdx][0]->mpItemData->mItemNo,
@@ -1038,7 +1038,7 @@ void ShopItems_c::createItem(int numItems, int roomNo) {
);
pos.x += 75.0f;
if (dComIfGs_isEventBit(0x0D04)) {
if (dComIfGs_isEventBit(dSv_event_flag_c::UNK_0D04)) {
mItemActorProcessIds[1] = fopAcM_createShopItem(
&pos, Item_set_data_tbl[mItemSetListGlobalIdx][1]->mpItemData->mItemNo,
&angle, roomNo
@@ -1046,7 +1046,7 @@ void ShopItems_c::createItem(int numItems, int roomNo) {
pos.x += 75.0f;
}
if (dComIfGs_isEventBit(0x0D02)) {
if (dComIfGs_isEventBit(dSv_event_flag_c::UNK_0D02)) {
mItemActorProcessIds[2] = fopAcM_createShopItem(
&pos, Item_set_data_tbl[mItemSetListGlobalIdx][2]->mpItemData->mItemNo,
&angle, roomNo