@@ -75,7 +75,7 @@ void GBASlot::FuelrodsPrice(const uint8_t V) { GBASAVUtils::Write<uint8_t>(this-
7575/* Get the Current Episode you are in. */
7676uint8_t GBASlot::CurrentEpisode () const {
7777 for (uint8_t Idx = 0 ; Idx < 12 ; Idx++) {
78- if (GBASAVUtils::Read<uint8_t >(this ->Offset (0x1A4 , 0x1A9 , 0x1AE )) == this ->EPVals [Idx]) return Idx;
78+ if (GBASAVUtils::Read<uint8_t >(this ->Offset (0x1A3 , 0x1A9 , 0x1AF )) == this ->EPVals [Idx]) return Idx;
7979 }
8080
8181 return 12 ; // 12 -> "Unofficial Episode". ;P
@@ -89,14 +89,14 @@ uint8_t GBASlot::CurrentEpisode() const {
8989*/
9090void GBASlot::CurrentEpisode (const uint8_t V, const bool ValidCheck) {
9191 if (!ValidCheck) { // In case we're not checking for validateness, Set it without checks.
92- GBASAVUtils::Write<uint8_t >(this ->Offset (0x1A4 , 0x1A9 , 0x1AE ), V);
92+ GBASAVUtils::Write<uint8_t >(this ->Offset (0x1A3 , 0x1A9 , 0x1AF ), V);
9393 GBASAVUtils::Write<uint8_t >(this ->Offs + 0x9 , V); // It's better to set that to 0x9 as well for display.
9494 return ;
9595 }
9696
9797 for (uint8_t Idx = 0 ; Idx < 12 ; Idx++) {
9898 if (V == this ->EPVals [Idx]) {
99- GBASAVUtils::Write<uint8_t >(this ->Offset (0x1A4 , 0x1A9 , 0x1AE ), V);
99+ GBASAVUtils::Write<uint8_t >(this ->Offset (0x1A3 , 0x1A9 , 0x1AF ), V);
100100 GBASAVUtils::Write<uint8_t >(this ->Offs + 0x9 , V); // It's better to set that to 0x9 as well for display.
101101 break ;
102102 }
0 commit comments