| |||
Views: 88,524,634 |
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search | 05-03-24 05:05 PM |
|
Guest: Register | Login |
0 users currently in SMW Hacking | 2 guests |
Main - SMW Hacking - Custom Block! well...almost | New thread | New reply |
cory21391 |
| ||
Flurry Level: 37 Posts: 12/260 EXP: 332059 Next: 6194 Since: 03-01-07 From: NC, US Last post: 5135 days Last view: 5135 days |
IPS file: http://www.mediafire.com/?a1mevx1azx3
BlockTool BIN file: http://www.mediafire.com/?5djdif1n5mu I had an idea for a custom block that gives you a life if you have 50 or more coins in exchange for them, but takes a life AND your coins if you dont have enough coins. I have just 1 problem... The only way i can get it to work right (without glitching and being able to hit it multiple times to get like a million lives) is when i set it to act like block 124 (a question block with a coin inside) so my question is: how do you make it able to only be hit once per level, then reset when you restart the level (or another level) I've thought about putting a value such as 01 in a ram address, making the block compare that address to 00 and branch if its equal (00) then if its 01, reading the block and setting the address to zero so when you hit it next, it'll be zero and do nothing, but i dont know where empty ram addresses are and i dont want to mess up any ram addresses or anything heres my code: AD: LDA [BE 0D] C9: CMP [63] B0: BCS[30] F0: BEQ [2E] C9: CMP [00] F0: BEQ [2A] 8D: STA [BE 0D] AD: LDA [BF OD] A8: TAY C0: CPY [32] B0: BCS [11] F0: BEQ [0F] AD: LDA [BE 0D] 3A: DEC A 8D: STA [BE OD] 98: TYA 8D: STA [BF 0D] 9C: STZ [BF 0D] 60: RTS AD: LDA [BE 0D] 1A: INC A 8D: STA [BE OD] 98: TYA 8D: STA [BF 0D] 9C: STZ [BF 0D] 60: RTS ____________________ |
HyperHacker |
| ||
... Level: 73 Posts: 757/1220 EXP: 3368742 Next: 117126 Since: 03-25-07 From: no Last post: 6098 days Last view: 6082 days |
You have to have it change into a brown "used" block. Unfortunately I don't know how to do that. |
Main - SMW Hacking - Custom Block! well...almost | New thread | New reply |
© 2005-2023 Acmlm, blackhole89, Xkeeper et al. |
MySQL - queries: 37, rows: 58/59, time: 0.030 seconds. |