Remove heal on warp (#181)

* Patch heal on warp

* Remove entirely
This commit is contained in:
Emerald Lockdown 2022-09-12 22:01:13 -05:00 committed by GitHub
parent 184344afc4
commit de9bb54423
1 changed files with 0 additions and 5 deletions

View File

@ -417,11 +417,6 @@ void init_mario_after_warp(void) {
if (sWarpDest.type == WARP_TYPE_CHANGE_LEVEL || sWarpDest.type == WARP_TYPE_CHANGE_AREA) { if (sWarpDest.type == WARP_TYPE_CHANGE_LEVEL || sWarpDest.type == WARP_TYPE_CHANGE_AREA) {
gPlayerSpawnInfos[i].areaIndex = sWarpDest.areaIdx; gPlayerSpawnInfos[i].areaIndex = sWarpDest.areaIdx;
// reset health
gMarioStates[i].health = 0x880;
gMarioStates[i].healCounter = 0;
gMarioStates[i].hurtCounter = 0;
if (i == 0) { load_mario_area(); } if (i == 0) { load_mario_area(); }
} }