Jump to content

wwwwwwzx

Member
  • Content Count

    10
  • Joined

  • Last visited

Community Reputation

7 Neutral

2 Followers

About wwwwwwzx

  • Rank
    New Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. wwwwwwzx

    Gen7 RAM Map (WIP)

    Pokemon Temp Data Offset Type Description Before Generation 0x0 u64 Encryption Constant If = 0xFFFFFFFF FFFFFFFF, random u32 0x8 u32 PID If = 0xFFFFFFFF, random 0xC u32 PID Type 1: Anti-Shiny 2: Forced Shiny 3: Random 0x10 u64 OT TID/SID If = 0xFFFFFFFF FFFFFFFF, random u32 0x18 u16 Species ID 0x1A u16 Form ID If = 0xFF, random according to personal info 0x1C u16 Level 0x1E u16 Gender If = 0xFF, random(252) according to personal info 0x20 u16 Nature If = 0xFFFF, random(25) 0x22 u8 Ability Number If = 0xFF, random 1/2; If = 0xFE random 1/2/H. 0x23 u8 PID Roll Count For PID type = 3 (random), related to shiny chance 0x24 u16 HP IV If = 0xFFFF, random(32) 0x26 u16 Attack IV If = 0xFFFF, random(32) 0x28 u16 Defense IV If = 0xFFFF, random(32) 0x2A u16 SpA IV If = 0xFFFF, random(32) 0x2C u16 SpD IV If = 0xFFFF, random(32) 0x2E u16 Speed IV If = 0xFFFF, random(32) 0x30 u16 Friendship If = 0xFFFF, set default friendship 0x34 u8 Perfect IV Count If > 0, clear all IV locks SOS Status Data RAM location: 0x30038E20 (USUM v1.2); 0x30038C44 (SM v1.2) Offset Type Description 0x10 u32 [624] SFMT RNG Table 0x9D0 u16 SFMT RNG Table Index 0x9D8 u8 Adrenaline Orb Used 0x9D9 u8 Chain Length 0x9DA u8 Ally Identifier? 0x9DB u8 Last SOS Call Succeeded Berry Pile Data RAM location: 0x32DE3208 (USUM v1.2) Offset Type Description 0x25 u8 Bit flag for Crabrawler existence 0x26 u16 Crabrawler level 0x28 u16 [6] Regular random berry ID
  2. Looks like it's hardcoded. sub_77279C for static gifts v16 = v42 == 380; if ( v42 != 380 ) v16 = v42 == 381; if ( !v16 ) v16 = v42 == 25; if ( v16 ) // Latias/Latios/Pikachu { v53 = 3; // Perfect IVs count v27 = v4[5]; v28 = sub_6F72F8(v4[5], 1); if ( v28 != 6 ) { v29 = sub_6F3B30(v27, v28); if ( sub_6F4548() == 28 ) // Synchro v46 = sub_6F7300(v29); } } else { v17 = *(v3 + 22); if ( v17 != -1 ) LOWORD(v49) = *(v3 + 22); v18 = *(v3 + 23); if ( v18 != -1 ) HIWORD(v49) = *(v3 + 23); v19 = *(v3 + 24); if ( v19 != -1 ) LOWORD(v50) = *(v3 + 24); v20 = *(v3 + 25); if ( v20 != -1 ) HIWORD(v50) = *(v3 + 25); v21 = *(v3 + 26); if ( v21 != -1 ) LOWORD(v51) = *(v3 + 26); v22 = *(v3 + 27); if ( v22 != -1 ) HIWORD(v51) = *(v3 + 27); } if ( sub_6F31F8(16, v5) ) v23 = sub_6F5DE8(); // Goes to sub_3B274C else v23 = 0;
  3. Afaik, cosplay Pikachu should be IV3. Will look for how the game treat it.
×
×
  • Create New...