Newbie Spellweaver
- Joined
- Sep 3, 2009
- Messages
- 38
- Reaction score
- 0
I have been trying for about 5 hours to get the Trainer level of your Player to display in the HUD because I am working on a new HUD to release. I tried about the same methods as the "getmoney" like how the money is updated when the game is loaded. The problem I am having is that the settext that loads is -1, which is the assigned var at the initial update. when i go and buy a pokeball or do anything to cause the update again. it will finally update to the correct trainer level. I used mainly UI.java and copied the get money methods. then changed them to the getTrainerLevel and changed the location display.
If anyone knows how to make the trainer level display correctly, that would be awesome!
BTW: i did try the same method as the Dialogbox with the stats of the character, also came out as -1, while the stat dialog came out as the correct character level.
If anyone knows how to make the trainer level display correctly, that would be awesome!
BTW: i did try the same method as the Dialogbox with the stats of the character, also came out as -1, while the stat dialog came out as the correct character level.
Last edited: