| 1061 | } |
| 1062 | |
| 1063 | void player_revive() |
| 1064 | { |
| 1065 | // player_revive() is called when the player respawns, which is why it sets 100 for shields here. |
| 1066 | // In the case of picking up the item, the value is then set to 200 after the function call. |
| 1067 | s_playerInfo.shields = min(100, s_shieldsMax); |
| 1068 | s_playerInfo.health = s_healthMax; |
| 1069 | s_playerInfo.healthFract = 0; |
| 1070 | s_playerDying = 0; |
| 1071 | } |
| 1072 | |
| 1073 | s32 player_getLifeCount() |
| 1074 | { |
no test coverage detected