diff options
| author | Henny022p <info@henny022.de> | 2023-12-24 04:54:59 +0100 |
|---|---|---|
| committer | Henny022p <info@henny022.de> | 2023-12-24 04:54:59 +0100 |
| commit | 1944bf5e6dd7378eb844db7cdfadfb8e66665f5d (patch) | |
| tree | 4292d73d1af57f6963b0b505fb06ccc5fe297d07 /src/object/object37.c | |
| parent | 040b1f3a5972ee86d12c84ae741d286d6b43f8fa (diff) | |
Match SortKinstoneBag
extract kinstone related data from SaveFile into it's own struct
Co-authored-by: KEKW555 <152369890+KEKW555@users.noreply.github.com>
Diffstat (limited to 'src/object/object37.c')
| -rw-r--r-- | src/object/object37.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object/object37.c b/src/object/object37.c index 800f0fa0..619f8482 100644 --- a/src/object/object37.c +++ b/src/object/object37.c @@ -44,14 +44,14 @@ void Object37_Init(Object37Entity* this) { void Object37_Action1(Object37Entity* this) { Entity* item; - if ((gSave.fusionUnmarked[0] != 0) && (this->unk70 != *this->unk78)) { + if ((gSave.kinstones.fusionUnmarked[0] != 0) && (this->unk70 != *this->unk78)) { item = CreateGroundItem(super, ITEM_RUPEE100, 0); if (item != 0) { item->direction = gPlayerEntity.animationState << 2; item->speed = 0x80; item->zVelocity = Q_16_16(2.0); } - gSave.fusionUnmarked[0] = 1; + gSave.kinstones.fusionUnmarked[0] = 1; DeleteThisEntity(); } } |
