Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- The last boss last phase RNG works with one state value that ranges from 0 to 99. It is initially set with the last two digits of your x position. To make a decision, it picks the corresponding one and advances the value by one.
- After a timeout, it decides the next move based on RNG and if it reached the second attack phase (<40% health). Other two things can influence it: the initial target, where it goes out of the shell, on a Stomp, is chosen with the RNG but if it is too close to you (130 pixels) it tries again. Also, on Smash, whenever it hits a wall it checks if it should just flip its gravity or follow you, flipping gravity advances the RNG state by one while following you advances it by two. I added the first Smash pick just in case, since it just advances RNG by 1, always.
- Fixed RNG advances: each attack uses a different amount: Stomp uses 3 plus the amount of failed target acquisitions, Strafe uses 4, Smash uses 1 plus one or two for each smash it performs, and Sleep uses 1. The transitions from Stomp or Strafe to Stomp or Smash use an extra 1, and if you're in the second attack phase and Stomp or Smash don't go to Sleep that's another 1.
- And finally, if the last Stomp was 4 attacks ago, the current attack is overriden to be Stomp. But if this affects you, your run is probably not being very good anyway...
- The Stomp targets, by the way, are arranged in a rectangle like so:
- 1 0
- 5 4
- 3 6 2
- With x side of 224 pixels and y radius of 160 pixels.
- Also, backgrounds are green for Stomp, red for Smash, yellow for Sleep, cyan/magenta for Strafe (depending on attack phase). Timeouts are 6, 6, 6.2 and 5.2, respectively but you can skip Sleep to get to Stomp by being below the boss (no RNG advance from Sleep).
- State Stomp Stomp Second Phase Sleep Strafe Strafe Second Phase Smash Stomp target Smash first pick Smash non-first pick
- 0 Strafe Strafe Strafe Stomp Stomp Strafe 1 Follow Flip
- 1 Strafe Strafe Strafe Stomp Stomp Strafe 3 Follow Flip
- 2 Strafe Strafe Strafe Stomp Stomp Strafe 0 Random Flip
- 3 Strafe Strafe Strafe Stomp Stomp Strafe 1 Follow Flip
- 4 Strafe Strafe Stomp Stomp Stomp Stomp 4 Follow Flip
- 5 Strafe Strafe Strafe Stomp Stomp Strafe 3 Follow Flip
- 6 Strafe Stomp Strafe Stomp Stomp Strafe 0 Random Flip
- 7 Stomp Smash Strafe Stomp Smash Strafe 1 Follow Flip
- 8 Smash Sleep Stomp Smash Sleep Stomp 6 Follow Follow
- 9 Strafe Strafe Strafe Stomp Stomp Strafe 2 Follow Flip
- 10 Strafe Strafe Strafe Stomp Stomp Strafe 0 Random Flip
- 11 Strafe Strafe Strafe Stomp Stomp Strafe 3 Follow Flip
- 12 Strafe Strafe Strafe Stomp Stomp Strafe 2 Follow Flip
- 13 Strafe Strafe Strafe Stomp Stomp Strafe 0 Random Flip
- 14 Strafe Strafe Strafe Stomp Stomp Strafe 1 Follow Flip
- 15 Strafe Stomp Strafe Stomp Stomp Strafe 3 Follow Flip
- 16 Stomp Smash Strafe Stomp Smash Strafe 1 Follow Flip
- 17 Smash Sleep Stomp Smash Sleep Stomp 6 Follow Follow
- 18 Smash Sleep Stomp Smash Sleep Stomp 6 Follow Follow
- 19 Strafe Strafe Stomp Stomp Stomp Stomp 5 Follow Flip
- 20 Strafe Smash Strafe Stomp Smash Strafe 1 Follow Flip
- 21 Smash Sleep Stomp Smash Stomp Stomp 5 Follow Follow
- 22 Strafe Smash Strafe Stomp Smash Strafe 3 Follow Flip
- 23 Smash Sleep Stomp Smash Sleep Stomp 6 Follow Follow
- 24 Strafe Smash Strafe Stomp Smash Strafe 3 Follow Flip
- 25 Smash Sleep Stomp Smash Stomp Stomp 5 Follow Follow
- 26 Strafe Stomp Strafe Stomp Stomp Strafe 0 Random Flip
- 27 Stomp Smash Stomp Stomp Smash Stomp 5 Follow Flip
- 28 Smash Sleep Stomp Smash Sleep Stomp 6 Follow Follow
- 29 Smash Sleep Stomp Smash Sleep Stomp 6 Follow Follow
- 30 Strafe Strafe Strafe Stomp Stomp Strafe 2 Follow Flip
- 31 Strafe Smash Strafe Stomp Smash Strafe 2 Follow Flip
- 32 Smash Sleep Stomp Smash Sleep Stomp 6 Follow Follow
- 33 Stomp Smash Strafe Stomp Smash Strafe 1 Follow Flip
- 34 Smash Sleep Stomp Smash Sleep Stomp 6 Follow Follow
- 35 Strafe Strafe Strafe Stomp Stomp Strafe 0 Random Flip
- 36 Strafe Strafe Strafe Stomp Stomp Strafe 1 Follow Flip
- 37 Strafe Strafe Strafe Stomp Stomp Strafe 0 Random Flip
- 38 Strafe Strafe Strafe Stomp Stomp Strafe 2 Follow Flip
- 39 Strafe Strafe Strafe Stomp Stomp Strafe 1 Random Flip
- 40 Strafe Strafe Stomp Stomp Stomp Stomp 5 Follow Flip
- 41 Strafe Strafe Strafe Stomp Stomp Strafe 2 Follow Flip
- 42 Strafe Strafe Strafe Stomp Stomp Strafe 1 Follow Flip
- 43 Strafe Strafe Stomp Stomp Stomp Stomp 4 Follow Flip
- 44 Strafe Strafe Stomp Stomp Stomp Stomp 4 Follow Flip
- 45 Strafe Strafe Stomp Stomp Stomp Stomp 4 Follow Flip
- 46 Strafe Strafe Strafe Stomp Stomp Strafe 2 Follow Flip
- 47 Strafe Strafe Stomp Stomp Stomp Stomp 4 Follow Flip
- 48 Strafe Strafe Strafe Stomp Stomp Strafe 2 Follow Flip
- 49 Strafe Strafe Strafe Stomp Stomp Strafe 1 Follow Flip
- 50 Strafe Stomp Strafe Stomp Stomp Strafe 2 Follow Flip
- 51 Stomp Smash Strafe Stomp Smash Strafe 0 Random Flip
- 52 Smash Sleep Stomp Smash Sleep Stomp 6 Follow Follow
- 53 Smash Sleep Stomp Smash Sleep Stomp 6 Follow Follow
- 54 Smash Sleep Stomp Smash Smash Stomp 5 Follow Follow
- 55 Smash Sleep Stomp Smash Sleep Stomp 6 Follow Follow
- 56 Smash Sleep Stomp Smash Sleep Stomp 6 Follow Follow
- 57 Smash Sleep Stomp Smash Sleep Stomp 5 Follow Follow
- 58 Smash Sleep Stomp Smash Sleep Stomp 6 Follow Follow
- 59 Smash Sleep Stomp Smash Sleep Stomp 6 Follow Follow
- 60 Strafe Strafe Stomp Stomp Stomp Stomp 4 Follow Flip
- 61 Strafe Strafe Strafe Stomp Stomp Strafe 0 Random Flip
- 62 Strafe Strafe Strafe Stomp Stomp Strafe 2 Follow Flip
- 63 Strafe Strafe Strafe Stomp Stomp Strafe 1 Follow Flip
- 64 Strafe Strafe Strafe Stomp Stomp Strafe 2 Follow Flip
- 65 Strafe Stomp Strafe Stomp Stomp Strafe 2 Follow Flip
- 66 Stomp Smash Strafe Stomp Smash Strafe 2 Follow Flip
- 67 Smash Sleep Stomp Smash Sleep Stomp 6 Follow Follow
- 68 Strafe Strafe Strafe Stomp Stomp Strafe 2 Follow Flip
- 69 Strafe Strafe Strafe Stomp Stomp Strafe 2 Follow Flip
- 70 Strafe Strafe Strafe Stomp Stomp Strafe 2 Follow Flip
- 71 Strafe Strafe Strafe Stomp Stomp Strafe 0 Random Flip
- 72 Strafe Smash Strafe Stomp Smash Strafe 2 Follow Flip
- 73 Smash Sleep Stomp Smash Stomp Stomp 5 Follow Follow
- 74 Stomp Smash Stomp Stomp Smash Stomp 5 Follow Flip
- 75 Smash Sleep Stomp Smash Sleep Stomp 6 Follow Follow
- 76 Strafe Strafe Strafe Stomp Stomp Strafe 1 Follow Flip
- 77 Strafe Strafe Strafe Stomp Stomp Strafe 3 Follow Flip
- 78 Strafe Strafe Strafe Stomp Stomp Strafe 2 Follow Flip
- 79 Strafe Smash Strafe Stomp Smash Strafe 1 Follow Flip
- 80 Smash Sleep Stomp Smash Sleep Stomp 6 Follow Follow
- 81 Strafe Stomp Stomp Stomp Stomp Stomp 5 Follow Flip
- 82 Stomp Smash Strafe Stomp Smash Strafe 1 Follow Flip
- 83 Smash Sleep Stomp Smash Sleep Stomp 6 Follow Follow
- 84 Strafe Strafe Strafe Stomp Stomp Strafe 2 Follow Flip
- 85 Strafe Strafe Stomp Stomp Stomp Stomp 5 Follow Flip
- 86 Strafe Strafe Strafe Stomp Stomp Strafe 3 Follow Flip
- 87 Strafe Strafe Stomp Stomp Stomp Stomp 4 Follow Flip
- 88 Strafe Smash Stomp Stomp Smash Stomp 5 Follow Flip
- 89 Smash Sleep Stomp Smash Stomp Stomp 5 Follow Follow
- 90 Strafe Strafe Stomp Stomp Stomp Stomp 5 Follow Flip
- 91 Strafe Strafe Stomp Stomp Stomp Stomp 5 Follow Flip
- 92 Strafe Stomp Stomp Stomp Stomp Stomp 5 Follow Flip
- 93 Stomp Smash Strafe Stomp Smash Strafe 2 Follow Flip
- 94 Smash Sleep Stomp Smash Sleep Stomp 6 Follow Follow
- 95 Smash Sleep Stomp Smash Sleep Stomp 6 Follow Follow
- 96 Stomp Smash Strafe Stomp Smash Strafe 1 Follow Flip
- 97 Smash Sleep Stomp Smash Sleep Stomp 6 Follow Follow
- 98 Smash Sleep Stomp Smash Sleep Stomp 6 Follow Follow
- 99 Strafe Strafe Strafe Stomp Stomp Strafe 1 Follow Flip
Add Comment
Please, Sign In to add comment