LilPinkus

chest game bug

Jul 17th, 2018
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.46 KB | None | 0 0
  1. Pinkus - Yesterday at 11:15 PM
  2. Just observing memory watch, I think the problem is that C8 is set to 7 by something initially. Then as you noted Zarby, once you pick something up its always set to 51. It's supposed to be set to the last chest game prize reward, so that you don't get the same thing twice in a row, but obviously that doesnt happen on 1.0 at least.
  3.  
  4. Since 7 = the heart piece, you need to open one chest to set it to 51 first.
  5.  
  6. In fact, if you open a chest to set it to 51, and then open the select menu, it will be set back to 7. I think its a common value for texts? And then you have 0% chance on both chests it seems to me (unless I was very very unlucky with my testing)
  7.  
  8.  
  9. fmp - Yesterday at 11:16 PM
  10. oh
  11. that explains why i got the heart piece first chest(edited)
  12.  
  13. Pinkus - Yesterday at 11:17 PM
  14. now we have two places where manipulation of C8 would be very much appreciated
  15.  
  16. fmp - Yesterday at 11:17 PM
  17. because I didn't talk to the chest guy
  18. I just put the cheat on
  19.  
  20. Pinkus - Yesterday at 11:17 PM
  21. yeah it's F2 after the transition
  22.  
  23. Zarby89 - Yesterday at 11:18 PM
  24. yeah but it doesn't really matter because the if x < 2 nullify that
  25. ```
  26. JSL GetRandomInt : AND.b #$07 : TAX ; Get random int 0-7 put it in X
  27. CPX.b #$02 : BCC BRANCH_BETA ;if X < 02 then compare $C8 with X otherwise we don't care
  28. CPX $C8 : BNE BRANCH_BETA
  29. TXA : INC A : AND.b #$07 : TAX
  30. ```
  31. so technically if it 51 we just skip to the branch below that give you the 0-7 random prize
  32.  
  33.  
  34. Pinkus - Yesterday at 11:20 PM
  35. Not sure I understand your point. Get random 0-7. If its less than 2, no bueno. If its same as C8, no bueno.
  36. Since C8 is set to "heart piece" by opening text, it will always be no bueno
  37. for the first one
  38. the nthe animation of getting a reward sets it to 51
  39. and the next time, IF the random number is 7. bueno.
  40.  
  41.  
  42. Pinkus - Yesterday at 11:24 PM
  43. well C8 is supposed to be "the last item you got"
  44. its not on jp 1.0
  45.  
  46. Zarby89 - Yesterday at 11:24 PM
  47. it "supposed" lol it not on either versions
  48.  
  49. Pinkus - Yesterday at 11:25 PM
  50. ah right
  51. buggity bug :>
  52.  
  53. Zarby89 - Yesterday at 11:25 PM
  54. otherwise you would not be able to get the rupee prize twice in a row
  55.  
  56. Pinkus - Yesterday at 11:25 PM
  57. but I assuem C8 is not set to 7 upon opening texts in 1.1?
  58.  
  59. Zarby89 - Yesterday at 11:25 PM
  60. on 51 i think
  61. well in US version
  62.  
  63. Pinkus - Yesterday at 11:26 PM
  64. well I found a manip
  65. just kill yourself and get revived by fairy
  66. then you can get it on both :stuck_out_tongue:
Advertisement
Add Comment
Please, Sign In to add comment