Hello, I downloaded the Multiple Midway Points Tool (by kaijyuu, MarioFanGamer & lx5) and with imamelia's very nice ObjecTool-Tutorial, I could learn how to create and insert custom Objects.
I used these lines of code from the tutorial:
CustExObj98:
LDY $57
LDX $13BF
LDA $1EA2,x
BPL .Blank
LDA #$25
STA [$6B],y
LDA #$00
STA [$6E],y
RTS
.Blank
LDA #$F0
STA [$6B],y
LDA #$0C
STA [$6E],y
RTS
This code works perfectly fine and creates a midway point object, that stays after it gets collected and you respawn, but dissappears after the level is beaten. I can't find out how to change the code to make the midway dissappear forever, after it's collected the first time. I tried to find a solution in imamelia's ObjecTool-Tutorial, but couldn't (maybe it's in there and I'm just a great dumbo). I know that we're checking bit 7 here and I somehow need bit 6 but I can't grasp the concept of scary hex numbers... I tried searching in the Forums but couldn't find anything, sorry if someone already posted about this.
Thank you for reading!
-Goobie Doobie
I used these lines of code from the tutorial:
CustExObj98:
LDY $57
LDX $13BF
LDA $1EA2,x
BPL .Blank
LDA #$25
STA [$6B],y
LDA #$00
STA [$6E],y
RTS
.Blank
LDA #$F0
STA [$6B],y
LDA #$0C
STA [$6E],y
RTS
This code works perfectly fine and creates a midway point object, that stays after it gets collected and you respawn, but dissappears after the level is beaten. I can't find out how to change the code to make the midway dissappear forever, after it's collected the first time. I tried to find a solution in imamelia's ObjecTool-Tutorial, but couldn't (maybe it's in there and I'm just a great dumbo). I know that we're checking bit 7 here and I somehow need bit 6 but I can't grasp the concept of scary hex numbers... I tried searching in the Forums but couldn't find anything, sorry if someone already posted about this.
Thank you for reading!
-Goobie Doobie