summaryrefslogtreecommitdiff
path: root/include/player_pc.h
diff options
context:
space:
mode:
authorgolem galvanize <golemgalvanize@github.com>2018-01-09 16:48:01 -0500
committergolem galvanize <golemgalvanize@github.com>2018-01-09 16:48:01 -0500
commitc7722a492017dbd8a5fb3bb216062eb62129daf5 (patch)
tree2a5c0ba6a6b9364aa93eb4a9a89b35153954ab63 /include/player_pc.h
parent2d141bc612ffecc984f6b4238c2791ba8419a192 (diff)
parent85174ad6193d3d58b92deaaedf8c510440ed85ee (diff)
fixing merge conflicts
Diffstat (limited to 'include/player_pc.h')
-rw-r--r--include/player_pc.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/player_pc.h b/include/player_pc.h
index 8debeda88..625155b57 100644
--- a/include/player_pc.h
+++ b/include/player_pc.h
@@ -13,13 +13,14 @@
#define SWAP_ITEM_INDEX data[8]
#define SWITCH_MODE_ACTIVE data[9]
+// this is potentially an ewram access occuring in high ewram. TODO: investigate this further.
#define NEW_GAME_PC_ITEMS(i, type) ((u16)((u16 *)gNewGamePCItems + type)[i * 2])
// defined and used in the above macro
enum
{
- ITEM_ID,
- QUANTITY
+ PC_ITEM_ID,
+ PC_QUANTITY
};
// player PC menu options