Vxpor
Vxpor
- 77
- Posts
- 6
- Years
- Seen Feb 19, 2025
I am currently working on a Gen 3 FRLG style project and am new to scripting in v18. I am working on changing my battle UI to match that of Firered and Leafgreen. I've only encountered one problem so far, but it is pretty major. I was using Thundaga's battle UI tutorial to match up my values in the scripts, but most of it is now outdated due to his version being v17 while I'm working in v18. The one big thing that I'm stumped on is making different positions for the enemy Pokémon and the player Pokémon. In his tutorial, he uses the phrase-
-and then does an else check. What this is supposed to do in v17 is the first script phrase after the initial-
-is supposed to be the player's Pokémon x & y values, while the one after the else is supposed to be the enemy Pokémon's x & y values. When doing the same thing in v18, it only acknowledges the enemy values after the else and not the player's values. I've commented some things out trying to test some things, but here is what mine looks like for reference. I did this same process in a v17 project of mine and it worked just fine, I just think the way Thundaga did it in v17 works the same way anymore and I need to find a new way to make it work.
Code:
if @showhp
Code:
if