InsaneFirebat

Crystal Flash Corruption

Aug 30th, 2021
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. Explanation by P.JBoy
  2.  
  3. ;;; $A35D: Pre-instruction - crystal flash - stage 2 - after-glow ;;;
  4. {
  5. ; The same as power bomb explosion stage 5 ($8B98) except for using colour components as a wake criterion ($A36A..76) instead of [HDMA object $1938]
  6.  
  7. those colour components never become zero in those rooms
  8. but they actually do become 0 when you lay the next power bomb
  9. which causes the "wake up" action on the HDMA object to be executed
  10. which causes the bug
  11. yeah I think the crystal flash object stays alive
  12. you lay the power bomb
  13. causes the colours to become 0
  14. that gets the crystal flash to clean itself up
  15. and I think that inadventantly breaks power bombs
  16.  
  17. ;;; $A317: Crystal flash - clean up ;;;
  18. {
  19. $88:A317 9C EE 0C STZ $0CEE [$7E:0CEE] ; Power bomb flag = 0
  20. $88:A31A 9C 92 05 STZ $0592 [$7E:0592] ; Clear power bomb explosion status
  21. $88:A31D 9E B4 18 STZ $18B4,x[$7E:18B6] ;\
  22. $88:A320 9E B6 18 STZ $18B6,x[$7E:18B8] ;} Delete HDMA objects [X] and [X] + 2
  23. $88:A323 9C EC 0C STZ $0CEC [$7E:0CEC] ; Power bomb pre-explosion radius = 0
  24. $88:A326 9C EA 0C STZ $0CEA [$7E:0CEA] ; Power bomb explosion radius = 0
  25. $88:A329 6B RTL
  26. }
Advertisement
Add Comment
Please, Sign In to add comment