Jump to content

wwwwwwzx

Member
  • Posts

    10
  • Joined

  • Last visited

Posts posted by wwwwwwzx

  1. 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;
    • Thanks 1
  2. @Kaphotics

    I didn't find the exact source code, but I have a reasonable theory now.

    So basically the level of crabrawler only depends on the pile size. Big pile has 2 level higher crabrawler than the small one.

    RAM address 0x32DE3208 for berry piles status.

    + 0x25 is the bit flag for Crabrawler existence

    + 0x26 is the Crabrawler level

    + 0x28 is the regular berries table (6 x WORD)

    Several tests via debugger gives following results: https://github.com/wwwwwwzx/3DSRNGTool/blob/master/Data/BerryTrees.md

    And compare with the SuMo level range for Crabrawler, they are just the third highest level and the highest level.

    (For example, SuMo Route 10 level range: 24-27, scripted Crabrawler level is 25 for small pile size, 27 for big size)

    So I guess they didn't update this with USUM.

    To summarize, the level of first encounter was scripted inside the SuMo SOS encounter level ranges. But in USUM, they are out of range because the encounter table changes.

    A solution is adding following static encounter:

    new EncounterStatic { Species = 739, Level = 25, Location = 106, }, // Route 10
    new EncounterStatic { Species = 739, Level = 28, Location = 110, }, // Ula'ula Beach
    new EncounterStatic { Species = 739, Level = 31, Location = 118, }, // Route 16
    new EncounterStatic { Species = 739, Level = 32, Location = 120, }, // Route 17

     

    • Like 2
  3. Only Crabrawler will have this problem and need more time to find the source.

    sub_3A3584 (UMv1.2) is the subroutine for random encounter level. It gets called for any wild, including pokemon in dividing peak tunnel and in-battle SOS call. (So Lv 26-29 is still the correct range for ally Crabrawlers)

    The level of crabrawler first encounter is more like map resources such as berries pile size, and can be SRed as daily events, afaik.

    • Like 1
  4. On 12/7/2017 at 8:01 AM, Kaphotics said:

    Bulbapedia isn't always 100% correct. Current research indicates that the 4 radar slots do not replace encounter slots 2 or 3, replaces 4,5,10,11 according to @wwwwwwzx. Maybe it really replaces 2/3/4/5 (or more to reach 50%)?

    image.png

    Re Artist ribbon: fixed https://github.com/kwsch/PKHeX/commit/a43880184a69e4528566e0c5f99b94b6fd6d24a9:)

    Can confirm pokeradar should replace 4,5,10,11

    Edited: I test slot 2, 10, 11 with the same patch as follow:slot2.thumb.PNG.3cb05a427c550e0f44630096579aa2dc.PNGSlot11.thumb.PNG.310d1b3f45b7900139e47c7047556478.PNGSlot10.thumb.PNG.8b764a2f31cb56198128f0384716ff58.PNG

    I also checked slot 4,5. There are Grimer.

    • Thanks 1
  5. 1 hour ago, Johnwraight said:

    do you have any evidence of this event?

    acording to serebii these pokemon cannot have their hidden abilities and so far every drampa, mareanie and goomy i have droped into pkhex has had its hidden ability.

    http://www.serebii.net/events/2017.shtml

    maybe its just serebii showing incorrect informaton or something?

    Serebii showing incorrect info. You can check this website https://game8.jp/pokemon_sun_moon/128054 3 have HA 3 normal ability

    And another post shows goomy should have HA

     

    • Like 2
×
×
  • Create New...