Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Gen 7 Assembly Code
- v52 = gfl2::math::Random::Next(v6[3], 100u);
- if ( pml::pokepara::CoreParam::GetMonsNo(v5[1]) == 132 )
- ParentPointer = *v5;
- else
- ParentPointer = v5[1];
- v54 = getAbilityNumber(ParentPointer);
- switch ( v54 )
- {
- case 0:
- if ( v52 < 80 )
- goto ABILITY1;
- ABILITY2:
- *(v4 + 34) = 1;
- goto LABEL_89;
- case 1:
- if ( v52 < 20 )
- goto ABILITY1;
- goto ABILITY2;
- case 2:
- if ( v52 < 20 )
- goto ABILITY1;
- if ( v52 >= 40 )
- {
- *(v4 + 34) = 2;
- goto LABEL_89;
- }
- goto ABILITY2;
- }
- if ( v52 >= 50 )
- goto ABILITY2;
- ABILITY1:
- *(v4 + 34) = 0;
- Gen 6 Assembly Code
- v35 = MT_Rand(&unk_686F54, 100); // Random100
- if ( getMonsNo(v5[1]) == 132 )
- v36 = *v5;
- else
- v36 = v5[1];
- v37 = sub_4D2E80(v36);
- switch ( v37 )
- {
- case 0:
- if ( v35 < 0x50 )
- goto LABEL_77;
- LABEL_85:
- *(v4 + 34) = 1;
- goto LABEL_86;
- case 1:
- if ( v35 < 0x14 )
- goto LABEL_77;
- goto LABEL_85;
- case 2:
- if ( v35 < 0x14 )
- goto LABEL_77;
- if ( v35 >= 0x28 )
- {
- *(v4 + 34) = 2;
- goto LABEL_86;
- }
- goto LABEL_85;
- }
- if ( v35 >= 0x32 )
- goto LABEL_85;
- LABEL_77:
- *(v4 + 34) = 0;
- https://cdn.discordapp.com/attachments/308023267266920458/407691890712903680/Capture.PNG
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement