Main Menu
Main Page
Forums
New pages
Recent changes
Random page
Help

Glitches
Arbitrary code execution
Pokémon cloning
Pomeg glitch and Glitzer Popping
Tweaking and voiding
Glitches by generation
Glitch categories

References/Resources
Databases
Disassembly projects
The Big HEX List
Pokémon cheat codes
Pokémon glitch terminology
Useful tools
More

Affiliates
Legendary Star Blob 2 (Hakuda) (日本語/Japanese)
Pokémon Speedruns wiki (English)
PRAMA Initiative (Français/French)
MissingNo. Glitch City (Italiano/Italian)
Become an affiliate!

Technical
Site source code

Search Wiki

 

Search Forums

 

Author Topic: PP (not) Up  (Read 132 times)

0 Members and 1 Guest are viewing this topic.

James-the-Charizard

  • GCLF Member
  • Offline Offline
  • Gender: Male
  • Roleplays are my specialty, but glitching is too!
    • View Profile
PP (not) Up
« on: September 29, 2019, 07:34:46 pm »
(Reposted to rewrite it.)

When it comes to certain glitch moves, some when applied with a PP Up, they normally increase PP like an average move (like TM50) but several moves either can’t be increased (like TM13) while some can take the item but not increase the PP (like TM01)... What is the reason behind that (if there is one)...?
I'm really into roleplaying with Pokémon characters, but hey, glitching is fun too! :3
When it comes to glitches, I am better at Gen 1 rather than later generations.
Wanna talk? That's fine! Just drop me a message and I will reply as soon as possible. I can also be contacted via discord.
Name: James the Charizard#1268

bbbbbbbbba

  • Staff
  • *****
  • Online Online
  • ... but things won’t change if you don’t speak!
    • View Profile
Re: PP (not) Up
« Reply #1 on: September 29, 2019, 07:40:50 pm »
We have discussed about this on the Discord the other day, and we agree that TM01 doesn't get increased PP because its base PP is 3, and 3/5 rounded down is 0. However, we all believe that TM13, a 7 PP move, should be able to take PP Ups as normal. Can you post more details about your experiments?

James-the-Charizard

  • GCLF Member
  • Offline Offline
  • Gender: Male
  • Roleplays are my specialty, but glitching is too!
    • View Profile
Re: PP (not) Up
« Reply #2 on: September 29, 2019, 08:10:33 pm »
Ok, note it was a week or two ago, so details may not be exactly correct.
I tried to use the PP Up on my glitch Pokémon that knew TM13 (specifically it was 0xFA) but when I got in, it wouldn't let me increase the PP anymore, as if I had maxed it out, which I didn't. For the record, the max PP was 7. (The PP Up could work on the other moves I had, which were Ice Beam, Swords Dance, & Horn Attack.)
I'm really into roleplaying with Pokémon characters, but hey, glitching is fun too! :3
When it comes to glitches, I am better at Gen 1 rather than later generations.
Wanna talk? That's fine! Just drop me a message and I will reply as soon as possible. I can also be contacted via discord.
Name: James the Charizard#1268

Evie the Mother Hen ☽ ❤

  • Head Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • I love My Melody. 🦋 ✿
    • View Profile
Re: PP (not) Up
« Reply #3 on: September 29, 2019, 08:36:51 pm »
For me, it lets me use up to 3 PP Ups on TM13, which is interesting our results differ (the TM13 has 7 default PP and does not have any PP Ups applied by default so that isn't the issue(?). Note: Some glitch moves do).

The pattern was like this:

7, 8 (1 PP Up), 9 (2 PP Ups), 10 (3 PP Ups)

The PP Up I used was the 0x4F one. (As the 0x32 one is an unused unusable PP Up)

✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿
Here have some free flowers on every post :)
✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿



(Images © Sanrio, Nintendo, Pokémon, HAL Laboratory)

✿ Hi, I'm Evie. Transgender woman but spiritually doesn't believe 'male'/'female' needs to be defined; lives more stereotypically like a woman/I'm a 'girly' nerd who discovered herself. Call me whichever pronouns you like. :)

Feel free to contact me here about anything regarding the site.

Forgiveness. I feel that the more people pray to our greatest source/God/mathematical equality for world peace, the more and more it manifests into reality (until our next spiritual death).

Thank you Nyapon for this lovely artwork. :3

James-the-Charizard

  • GCLF Member
  • Offline Offline
  • Gender: Male
  • Roleplays are my specialty, but glitching is too!
    • View Profile
Re: PP (not) Up
« Reply #4 on: September 29, 2019, 08:48:39 pm »
For me, it lets me use up to 3 PP Ups on TM13, which is interesting our results differ (the TM13 has 7 default PP and does not have any PP Ups applied by default so that isn't the issue(?). Note: Some glitch moves do).

The pattern was like this:

7, 8 (1 PP Up), 9 (2 PP Ups), 10 (3 PP Ups)

The PP Up I used was the 0x4F one. (As the 0x32 one is an unused unusable PP Up)


I see... I'm going to check and confirm if my results are correct tomorrow, and just for noting, I also used the 0x4F PP Up.
I'm really into roleplaying with Pokémon characters, but hey, glitching is fun too! :3
When it comes to glitches, I am better at Gen 1 rather than later generations.
Wanna talk? That's fine! Just drop me a message and I will reply as soon as possible. I can also be contacted via discord.
Name: James the Charizard#1268

James-the-Charizard

  • GCLF Member
  • Offline Offline
  • Gender: Male
  • Roleplays are my specialty, but glitching is too!
    • View Profile
Re: PP (not) Up
« Reply #5 on: September 30, 2019, 06:14:51 am »
(Sorry that the image is sideways, I don't know what happened...)

Same result as before for me...
I'm really into roleplaying with Pokémon characters, but hey, glitching is fun too! :3
When it comes to glitches, I am better at Gen 1 rather than later generations.
Wanna talk? That's fine! Just drop me a message and I will reply as soon as possible. I can also be contacted via discord.
Name: James the Charizard#1268

bbbbbbbbba

  • Staff
  • *****
  • Online Online
  • ... but things won’t change if you don’t speak!
    • View Profile
Re: PP (not) Up
« Reply #6 on: September 30, 2019, 11:12:43 am »
I suggest that, after a few basic checks (like making sure the max PP is still 7), you should get ACE and read the RAM directly to see what it going on. You can find the relevant memory addresses by looking up Gameshark codes.

TheZZAZZGlitch

  • Distinguished Member
  • *
  • Offline Offline
  • Gender: Male
  • Unknown opcode fc at 801a
    • View Profile
Re: PP (not) Up
« Reply #7 on: September 30, 2019, 11:18:39 am »
That's because some glitch moves can have PP Ups already applied by default.

Let's look at a normal move first. It has a base PP value of 0x14, meaning it has 20 PP.
Now, what happens if we increase its PP with a PP Up? The game has to keep track of that somewhere. In order to save space, the highest two bits of the base PP value are used for this purpose, since normal moves would never have base PP above 64.
So after using a PP Up, the base PP byte corresponding to the modified move would change from 0x14, which looks like this in binary:

00010100
(red = number of PP Ups applied, blue = the move's base PP)

Into 0x54 (01010100), to represent that one PP Up was used on the move. Another PP Up would change that to 0x94 (10010100), then 0xD4 (11010100). After that, the game would not allow using more PP Ups.

Now, what happens with glitch moves? Their base PP information is taken from arbitrary data, so their base PP can have the highest bits (blue bits in the examples above) already set by default!
Let's look at TM04. It actually has 0xD2 base PP, which in binary, looks like this: 11010010. So this move has 18 base PP with 3 PP Ups already applied.
That's why no PP Ups can ever be applied to this move. The game thinks that 3 PP Ups were already applied, because the base PP value of a glitch move has the highest "PP Up" bits already set.

Another example: The glitch move TM11 has 0x49 base PP. Converting to binary, we have:
01001001
That means it has 9 PP, with 1 PP Up applied by default. So you can apply two additional PP Ups before the limit is reached.

***

Edit: This explanation is true, but does not really apply here. TM13 has 7 plain PP (0x07), so it should take 3 PP Ups normally. Did you obtain TM13 by leveling up 0xFA, or did you GameShark/edit the move in? How much PP does the move currently have when viewed in battle or in the stats screen?
« Last Edit: September 30, 2019, 11:58:08 am by TheZZAZZGlitch »
qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF

James-the-Charizard

  • GCLF Member
  • Offline Offline
  • Gender: Male
  • Roleplays are my specialty, but glitching is too!
    • View Profile
Re: PP (not) Up
« Reply #8 on: September 30, 2019, 12:22:28 pm »
I got TM13 by leveling up. But I checked the PP, and it was 10... I think I may have misremembered, or something else happened.
I'm really into roleplaying with Pokémon characters, but hey, glitching is fun too! :3
When it comes to glitches, I am better at Gen 1 rather than later generations.
Wanna talk? That's fine! Just drop me a message and I will reply as soon as possible. I can also be contacted via discord.
Name: James the Charizard#1268