1 | recovered = argument0; |
2 | maxedout = 0; |
3 | if (global.hp < global.maxhp) |
4 | global.hp += argument0; |
5 | else |
6 | maxedout = 1; |
7 | if (global.hp >= global.maxhp && maxedout == 0) |
8 | { |
9 | global.hp = global.maxhp; |
10 | maxedout = 1; |
11 | } |