HP: Difference between revisions

Jump to navigation Jump to search
115 bytes added ,  2 May 2021
m
Bolding title in lead
m (Now an Alive end)
m (Bolding title in lead)
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[File:HP-INC.gif|frameless|right]]
[[File:HP-INC.gif|frameless|right]]
HP (also known as Health) is the measure of [[Mario|Mario’s]] health. If this reaches 0, Mario loses a life.
'''HP''' (also known as '''Health''') is the measure of [[Mario|Mario’s]] health. If this reaches 0, Mario loses a life.


The variable that represents Mario’s HP is a short, which ranges from 0 to 2176 (or 0x0000 to 0x0880 in hexadecimal). Specifically, the upper byte represents how many full sectors of health Mario has, and the lower byte represents what portion of the next sector Mario has. Thus, one sector is equivalent to 256 HP units. The number of sectors displayed is the truncated version of the actual number of sectors. The maximum health is 2176 HP units (8.5 sectors). Mario will die if he goes below 256 HP units (1 sector).
The variable that represents Mario’s HP is a short, which ranges from 0 to 2176 (or 0x0000 to 0x0880 in hexadecimal). Specifically, the upper byte represents how many full sectors of health Mario has, and the lower byte represents what portion of the next sector Mario has. Thus, one sector is equivalent to 256 HP units. The number of sectors displayed is the truncated version of the actual number of sectors. The maximum health is 2176 HP units (8.5 sectors). Mario will die if he goes below 256 HP units (1 sector).
Line 45: Line 45:
|}
|}


'''Enemies that shock:''' Amp
'''Enemies that shock:''' [[Amp]]


'''Enemies with a Knockback of 1:''' Bubble, Cheep Chomp, Goomba, [[Scuttlebug]], Swoop
'''Enemies with a Knockback of 1:''' Bubble, Cheep Chomp, [[Goomba]], [[Scuttlebug]], Swoop


'''Enemies with a Knockback of 2:''' Big Cannonball, Big Goomba, Big Piranha Plant, [[Bob-omb]], Boo, Bookend, Bubba, Chairs, Clam, Fly Guy, Lakitu, Moneybag, Mr I, Pokey, Skeeter, Small Cannonball, Small Piranha Plant, Snowman, Snufit, Spindrift, Spiny
'''Enemies with a Knockback of 2:''' Big Cannonball, [[Goomba|Big Goomba]], Big Piranha Plant, [[Bob-omb]], [[Boo]], Bookend, Bubba, Chairs, Clam, Fly Guy, Lakitu, [[Moneybag]], Mr. I, Pokey, Skeeter, Small Cannonball, Small Piranha Plant, Snowman, [[Snufit]], [[Spindrift]], Spiny
*Bubba can eat Mario, instantly killing him.
*Bubba can eat Mario, instantly killing him.


'''Enemies with a Knockback of 3:''' Big Boo, Bullet Bill, Chain Chomp, Piano, Piranha Plant, Sushi, Unagi
'''Enemies with a Knockback of 3:''' Big Boo, [[Bullet Bill]], [[Chain Chomp]], Piano, Piranha Plant, [[Sushi]], Unagi


'''Enemies that squish:''' Grindel, King Whomp, Spindel, Thwomp, Tox Box, Whomp
'''Enemies that squish:''' [[Grindel]], King Whomp, [[Spindel]], [[Thwomp]], Tox Box, Whomp


'''Enemies that don't do damage:''' Big Bullies, Bomp, Bullies, Chuckya, Heave Ho, Klepto, Koopa, Manta, Small Koopa
'''Enemies that don't do damage:''' Big Bullies, [[Bomp]], [[Bully | Bullies]], [[Chuckya]], Heave Ho, Klepto, Koopa, Manta, Small Koopa
*Heave Ho & Chuckya launch Mario, which can cause fall damage or death.
*Heave Ho & Chuckya launch Mario, which can cause fall damage or death.
*Bullies & Big Bullies can push Mario into lava, which can cause lava damage or death.
*Bullies & Big Bullies can push Mario into lava, which can cause lava damage or death.
Line 77: Line 77:
== References ==  
== References ==  
[https://m.youtube.com/watch?v=XeGNpeFOOCY UncommentatedPannen video on HP]
[https://m.youtube.com/watch?v=XeGNpeFOOCY UncommentatedPannen video on HP]
[[Category:Mechanics]]
217

edits

Navigation menu