Joined: 10 May 2011 Posts: 84 Location: Philippines
Posted: Sun Apr 05, 2026 7:14 am Post subject: 2 functions in a single script
Is there a way to create a script with two functions inside it? There is this value that goes up whenever you kill an enemy but also goes down whenever you get hit. I've already found the opcodes that write to their individual addresses. It's easy to create a script for the going down part by just adding nop. And I already know how to do the other one where just killing one enemy max out the value. My question is, can I create a single script that can do both? Or is there a better way to always max out the value if there is any change to it?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum