diff options
author | Seth Barberee <seth.barberee@gmail.com> | 2021-12-19 16:38:51 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-19 16:38:51 -0600 |
commit | 8e1c66d8bd01807285b05d8333f36cd2d70e062c (patch) | |
tree | bb1bf94d56b770eca66780948ff9e05401967ed1 /src/code_8040094.c | |
parent | 087405b9d975b447ef7b17afd1e73e449cc7881b (diff) | |
parent | 0369264407563b64d60c885f8bf79322b6f663c8 (diff) |
Merge pull request #85 from AnonymousRandomPerson/master
More AI decomp
Diffstat (limited to 'src/code_8040094.c')
-rw-r--r-- | src/code_8040094.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/code_8040094.c b/src/code_8040094.c index cdebf7b..c834602 100644 --- a/src/code_8040094.c +++ b/src/code_8040094.c @@ -3,7 +3,6 @@ #include "file_system.h" #include "dungeon_global_data.h" -extern struct DungeonGlobalData *gDungeonGlobalData; extern s32 gUnknown_80F6568[]; extern u8 gUnknown_202EE01; extern const char gUnknown_80F6604; // "zmappat" @@ -36,9 +35,9 @@ void HandleLuminousOrbAction(u32 param_1) gDungeonGlobalData->unk1820B = 1; - for(YCoord = 0; YCoord <= DUNGEON_MAX_SIZE_Y; YCoord++) + for(YCoord = 0; YCoord < DUNGEON_MAX_SIZE_Y; YCoord++) { - for(XCoord = 0; XCoord <= DUNGEON_MAX_SIZE_X; XCoord++) + for(XCoord = 0; XCoord < DUNGEON_MAX_SIZE_X; XCoord++) { mapTile = GetMapEntity(XCoord, YCoord); mapTile->unk4 = mapTile->unk4 | 1; |