Clone: Difference between revisions

26 bytes added ,  9 days ago
no edit summary
No edit summary
No edit summary
(2 intermediate revisions by the same user not shown)
Line 96:
|}
 
== PsuedocodePseudocode ==
 
init() {
Line 209:
}
mainNormalmain_Normal() {
if (!{{RAM name|$7E:1E88}}[0] && !{{RAM name|$7E:1E88}}[1]) {
return
Line 243:
{{ROM name|$80:C7D9}}(this.collidedSpriteType & 0x8000, 20)
{{RAM name|$7E:1F76}} += 1
{{ROM name|$81:83A3}}(this.deathAnimationNormaldeathAnimation_Normal, 0xF5F5, 0x90)
}
Line 251:
}
deathAnimationNormaldeathAnimation_Normal = { { 0xA01D, 5 }, { 0xA06E, 5 }, { 0xA0A7, 5 }, { 0xA0D8, 5 },
{ 0xA0F9, 5 }, { 0xA11A, 5 }, { 0, 0 } }
mainHardmain_Hard() {
if (!{{RAM name|$7E:1E88}}[0] && !{{RAM name|$7E:1E88}}[1]) {
return
Line 282:
{{ROM name|$80:C7D9}}(this.collidedSpriteType & 0x8000, 20)
{{RAM name|$7E:1F76}} += 1
{{ROM name|$81:83A3}}(this.deathAnimationHarddeathAnimation_Hard, 0xF5F5, 0x90)
}
Line 290:
}
deathAnimationHarddeathAnimation_Hard = { { 0xA01D, 5 }, { 0xA06E, 5 }, { 0xA0A7, 5 }, { 0xA0D8, 5 },
{ 0xA0F9, 5 }, { 0xA11A, 5 }, { 0, 0 } }
walkingAnimationsPerCharacter = { this.walkingAnimationsZeke, this.walkingAnimationsJulie }