- [Pokemon Purple] Progress 2012
- 28 Mar 2012 07:33:20 am
- Last edited by tifreak8x on 20 Jan 2013 11:03:00 am; edited 1 time in total
Ordered list of getting the HP bars to increase on the party screen:
1) Calculate current HP %, *100, /4. Add value to 3+52(Z>3), store to var1.
2) Increase HP via potion or other item, check HP does not exceed HPmax.
3) Calculate new HP %, *100, /4. Add value to 3+52(Z>3), store to var2.
4) For loop with var1,var2 to increase hp bar.
I've started writing out the code for it, hopefully will have it done soonish. It's going to be another bit of code that will be a pain in the butt to write.
1) Calculate current HP %, *100, /4. Add value to 3+52(Z>3), store to var1.
2) Increase HP via potion or other item, check HP does not exceed HPmax.
3) Calculate new HP %, *100, /4. Add value to 3+52(Z>3), store to var2.
4) For loop with var1,var2 to increase hp bar.
I've started writing out the code for it, hopefully will have it done soonish. It's going to be another bit of code that will be a pain in the butt to write.