Jul 21, 2011 at 9:36 PM
Join Date: Jul 13, 2011
Location: Submerged in the colour orange
Posts: 63
LunarSoul said:You could JMP SHORT from the code to a free spot a shorter distance away, then JMP SHORT again to another spot, and so on until you have enough room to either put your code in or put in a JMP to the free space at the end of the code.
That's a good idea, but I can't imagine there being enough free space that's close enough for the JMPs for all four directions for the bullet.
![Frown :( :(](https://www.cavestory.org/images/forums/smilies/frown2.gif)
EDIT:
Here's an interesting thing:
MOV DWORD PTR DS:[EAX+18],500 and
ADD DWORD PTR DS:[EAX+18],500 seem to do the exact same thing. ADDing doesn't seem to add every frame like it's supposed to... Or maybe something is equalizing it somewhere else in the bullet's code?