Dungeon random/AI decomp + converted positions to structs (#83)

* Decomped RollPercentChance()

* Decomped DungeonRandomCapped()

* Decomped DungeonRandom()

* Decomped FindRockItemTargets()

-Added position struct.
This commit is contained in:
Cheng Hann Gan
2021-12-12 15:52:06 -05:00
committed by GitHub
parent a34c9ab91b
commit c53bdc35f8
22 changed files with 1276 additions and 1336 deletions

View File

@@ -589,13 +589,13 @@ void sub_8084E00(struct DungeonEntity *param_1,char param_2,char param_3)
sub_808AAF0(param_2,gDungeonGlobalData->unk3A0D);
break;
case 0x2e:
sub_808AE54(param_2,gDungeonGlobalData->unk3A0D,&param_1->posWorldX);
sub_808AE54(param_2,gDungeonGlobalData->unk3A0D,&param_1->posWorld.x);
break;
case 0x2f:
sub_808AEC8(param_2,gDungeonGlobalData->unk3A0D,&param_1->posWorldX);
sub_808AEC8(param_2,gDungeonGlobalData->unk3A0D,&param_1->posWorld.x);
break;
case 0x30:
sub_808AF3C(param_2,gDungeonGlobalData->unk3A0D,&param_1->posWorldX);
sub_808AF3C(param_2,gDungeonGlobalData->unk3A0D,&param_1->posWorld.x);
break;
case 0x31:
case 0x32: