mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-18 21:18:23 -04:00
Added enums for all used event/tmp bits/regs (#893)
This commit is contained in:
+4
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user