summaryrefslogtreecommitdiff
path: root/soh/src/code
diff options
context:
space:
mode:
authoraMannus <mannusmenting@gmail.com>2022-12-21 17:14:00 +0100
committerGitHub <noreply@github.com>2022-12-21 11:14:00 -0500
commit565775a3dcfe0bd7b41a1e4805dba6f3a7883b6a (patch)
treebe980f8853b7937e4a4e1abe5aa80f3503120221 /soh/src/code
parent9eb190e734b1ae5487803e9d2c430af9690be8a8 (diff)
Fix ice trap particles (#2229)
Diffstat (limited to 'soh/src/code')
-rw-r--r--soh/src/code/z_en_item00.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/soh/src/code/z_en_item00.c b/soh/src/code/z_en_item00.c
index 88fb1b8ab..9a4b53124 100644
--- a/soh/src/code/z_en_item00.c
+++ b/soh/src/code/z_en_item00.c
@@ -1264,9 +1264,9 @@ void EnItem00_Draw(Actor* thisx, PlayState* play) {
void EnItem00_CustomItemsParticles(Actor* Parent, PlayState* play, GetItemEntry giEntry) {
s16 color_slot;
- switch (giEntry.modIndex) {
+ switch (giEntry.drawModIndex) {
case MOD_NONE:
- switch (giEntry.itemId) {
+ switch (giEntry.drawItemId) {
case ITEM_SONG_MINUET:
color_slot = 0;
break;
@@ -1298,7 +1298,7 @@ void EnItem00_CustomItemsParticles(Actor* Parent, PlayState* play, GetItemEntry
}
break;
case MOD_RANDOMIZER:
- switch (giEntry.itemId) {
+ switch (giEntry.drawItemId) {
case RG_MAGIC_SINGLE:
case RG_MAGIC_DOUBLE:
case RG_MAGIC_BEAN_PACK: