mirror of
https://github.com/zeldaret/st
synced 2026-08-12 11:52:31 -04:00
Match ActorItemDrop (#82)
* feat: begin decompilation * feat: improve * feat: update symbols * feat: huge improvements on decompiling * feat: rename files and add function to give item * feat: improvements * feat: decompiling stuff * feat: remove deprecated comment * feat: other improvements * feat: use float values for mUnk_50 and mUnk_52 * ActorDroppedItem OK * fix build issues * fix regressions * DroppedItem -> ItemDrop and name actor ids --------- Co-authored-by: Yanis002 <35189056+Yanis002@users.noreply.github.com>
This commit is contained in:
@@ -97,8 +97,8 @@ ARM void ActorUnkSWOB::func_ov000_0209aa30(void) {
|
||||
AStack_7c.func_ov000_020975f8();
|
||||
|
||||
for (j = 0, i = 0; i < ARRAY_LEN(this->mUnk_A4); i++) {
|
||||
if (gpActorManager->func_01fff3b4(this->mUnk_A4[i].mUnk_00) == NULL) {
|
||||
this->mUnk_A4[i].mUnk_00 = 0;
|
||||
if (gpActorManager->func_01fff3b4(this->mUnk_A4[i].ref) == NULL) {
|
||||
this->mUnk_A4[i].ref.Reset();
|
||||
|
||||
vec.x = INT_TO_FX32(gRandom.Next32(11) - 5);
|
||||
vec.y = 0;
|
||||
|
||||
Reference in New Issue
Block a user