| 1140 | } |
| 1141 | |
| 1142 | int Game_Actor::SetHp(int hp) { |
| 1143 | data.current_hp = Utils::Clamp(hp, 0, GetMaxHp()); |
| 1144 | return data.current_hp; |
| 1145 | } |
| 1146 | |
| 1147 | int Game_Actor::SetSp(int sp) { |
| 1148 | data.current_sp = Utils::Clamp(sp, 0, GetMaxSp()); |
no outgoing calls