Advertisement
LilPinkus

Super Jump finally in z3 too

Mar 5th, 2019
370
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.19 KB | None | 0 0
  1. On the frame of impact, you need the following:
  2.  
  3. $3C = #$05
  4. How many frames the B button has been held (approximately)
  5. - Obviously don't happen unless you slash Moldorm.
  6. - Needs to be exactly 5 I think. It's 5 for 3 frames or so.
  7.  
  8. $44 = #$EB
  9. Where in the animation Link's sword is.
  10. - Obviously don't happen unless you slash Moldorm (or possibly hammer).
  11. - Without this, you won't get to the "damage enemy sprite" subroutine.
  12.  
  13. $45 = #$FF
  14. Where in the animation Link's sword is.
  15. - Obviously don't happen unless you slash Moldorm (or possibly hammer).
  16.  
  17. $4D = #$01
  18. Means Link is recoiling
  19. - Does not happen if you just slash Moldorm. Need to get hit.
  20. - Without this, you won't gain any height.
  21.  
  22. So you need to both slash and get damaged.
  23.  
  24. Here's relevant RAM of just normal damage boost vs super damage boost:
  25. **
  26. 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F
  27. ------------------------------------------------------
  28. NDmg 00 00 00 00 00 00 00 00 00 00 81 00 05 01 da c1
  29. SDmg 00 00 00 00 00 00 00 00 00 00 00 00 00 00 da c1
  30.  
  31. ** **
  32. 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F
  33. ------------------------------------------------------
  34. NDmg 08 1a 0f 0f eb ff 18 00 00 00 00 00 00 01 00 f4
  35. SDmg 08 1a 0f 0f 80 80 18 00 00 00 00 00 00 01 00 f4
  36.  
  37.  
  38. The most important side effect of this is $29 being set to $18 instead of $0C.
  39.  
  40. $29 is a counter that is used for Link's Z axis acceleration. It works like a subpixel speed, except it also decrements each frame (by 2 in the normal case). By setting it to a higher number, Link will get higher (takes more frames to decrements, and also starts out with bigger Z axis speed.)
  41.  
  42. There's three reasons you get so far:
  43. 1. Recoil Speed ($27) is higher due to slashing Moldorm.
  44. 2. Z axis acceleration starts out higher due to slashing Moldorm.
  45. 3. Link is in "recoil" mode ($4D=1) which allows him to have a Z axis acceleration. This does not happen if you don't get damaged.
  46.  
  47. $29 is first set to $0C in both cases, but the hit on Moldorm is registered the next frame from Sprite_CheckDamageFromPlayer, which sets it to $18.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement