@@ -110,13 +110,13 @@ void *fallThroughMostObjects(void *ptr)
110
110
111
111
void Mod::performBattleChecks ()
112
112
{
113
- #ifdef TTYD_US
113
+ #ifdef TTYD_US
114
114
const uint32_t DebugBadgeAddressOffset = 0x307 ;
115
- #elif defined TTYD_JP
115
+ #elif defined TTYD_JP
116
116
const uint32_t DebugBadgeAddressOffset = 0x303 ;
117
- #elif defined TTYD_EU
117
+ #elif defined TTYD_EU
118
118
const uint32_t DebugBadgeAddressOffset = 0x30B ;
119
- #endif
119
+ #endif
120
120
121
121
// Make sure Mario is in the battle before making any changes
122
122
uint32_t MarioBattlePointer = reinterpret_cast <uint32_t >(getMarioBattlePointer ());
@@ -318,13 +318,13 @@ void saveAnywhere()
318
318
return ;
319
319
}
320
320
321
- #ifdef TTYD_US
321
+ #ifdef TTYD_US
322
322
void *SaveScriptEvtCode = reinterpret_cast <void *>(0x803BAC3C );
323
- #elif defined TTYD_JP
323
+ #elif defined TTYD_JP
324
324
void *SaveScriptEvtCode = reinterpret_cast <void *>(0x803B68BC );
325
- #elif defined TTYD_EU
325
+ #elif defined TTYD_EU
326
326
void *SaveScriptEvtCode = reinterpret_cast <void *>(0x803C6C4C );
327
- #endif
327
+ #endif
328
328
329
329
// Take away control from the player and start the Save script
330
330
ttyd::evtmgr::EvtEntry *SaveScriptEvt = ttyd::evtmgr::evtEntryType (SaveScriptEvtCode, 0 , 0 , 0 );
@@ -1354,9 +1354,9 @@ void displayBlimpTicketSkipDetails()
1354
1354
double StickAngle = getStickAngle (nullptr );
1355
1355
double UpRightAngleStart = 25 ;
1356
1356
1357
- #ifdef TTYD_JP
1357
+ #ifdef TTYD_JP
1358
1358
UpRightAngleStart += 2 ;
1359
- #endif
1359
+ #endif
1360
1360
1361
1361
if (StickAngle >= UpRightAngleStart)
1362
1362
{
@@ -1421,13 +1421,13 @@ int32_t Mod::displayActionCommandsTimingHook(void *battleUnitPtr, ttyd::battle_u
1421
1421
uint32_t MarioBattlePointer = reinterpret_cast <uint32_t >(getMarioBattlePointer ());
1422
1422
if (MarioBattlePointer)
1423
1423
{
1424
- #ifdef TTYD_US
1424
+ #ifdef TTYD_US
1425
1425
const uint32_t DebugBadgeAddressOffset = 0x307 ;
1426
- #elif defined TTYD_JP
1426
+ #elif defined TTYD_JP
1427
1427
const uint32_t DebugBadgeAddressOffset = 0x303 ;
1428
- #elif defined TTYD_EU
1428
+ #elif defined TTYD_EU
1429
1429
const uint32_t DebugBadgeAddressOffset = 0x30B ;
1430
- #endif
1430
+ #endif
1431
1431
1432
1432
uint8_t DebugBadgeCheck = *reinterpret_cast <uint8_t *>(MarioBattlePointer + DebugBadgeAddressOffset);
1433
1433
if (DebugBadgeCheck > 0 )
0 commit comments