diff options
| author | engineer124 <47598039+engineer124@users.noreply.github.com> | 2022-10-05 01:15:39 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-05 06:15:39 +0100 |
| commit | f379012742c07f2e069b24d77e4f30a614f63080 (patch) | |
| tree | 2c27c31a663a82497efe4c97ac45734ddc77ac42 /docs | |
| parent | 2006a65ba62e7e848823cd1de009c9e16d6421eb (diff) | |
z_kaleido_map.c OK and Documented (Pause Menu Map Page) + related icon_item statics (dungeon/field/jpn) (#1094)
* import pause menu map page
* better owl-warp docs
* fix func name
* missed some owlwarps
* fix merge from master
* fix scene region code
* PR Suggestions
* add comment
* add description of gWorldMapImageTex, thanks @EllipticEllipsis
* clearup docs
* missed a comma
* bad formatter, drop comment
* more cleanup
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/tutorial/other_functions.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorial/other_functions.md b/docs/tutorial/other_functions.md index 255ae9eb4..1c8ba6b5b 100644 --- a/docs/tutorial/other_functions.md +++ b/docs/tutorial/other_functions.md @@ -401,7 +401,7 @@ There remains one thing we need to fix before trying to compile it, namely `*(&g ```C /* 0x0EF8 */ u8 weekEventReg[100]; // "week_event_reg" - /* 0x0F5C */ u32 mapsVisited; // "area_arrival" + /* 0x0F5C */ u32 regionsVisited; // "area_arrival" ``` so it's somewhere in `weekEventReg`. `0xF37 - 0xEF8 = 0x3F = 63`, and it's a byte array, so the access is actually `gSaveContext.save.weekEventReg[63] & 0x80`. Now it will compile. We also don't use `!= 0` for flag comparisons: just `if (gSaveContext.save.weekEventReg[63] & 0x80)` will do. |
