I've been playing around with code recently, and after testing what I've made and loving it, I decided to show all of you my code with a tutorial. But wait, isn't it minor code changes? There's no point to make a tutorial for one simple code. Which is why, after confirming with a staff, I decided to make this thread where you can share minor code changes that can make a difference technically or during gameplay. It can be from any game if it has a disassembly and you explain what changes it brings to the game. It's a neat way to save thread space and more into collaborating with your ideas. Let's see how this thread goes then: I'll start with a simple guide: Be invulnerable after losing your invincibility status In Sonic games, when the invincibility time is over and you hit a badnik by accident, it can make the game really annoying for you since you have to go back and get rings. If you want to have a few seconds of invulnerability after you lose your invincibility, here is what you can do: In the code where it removes your invincibility, insert this below: Code: subq.b #2,$24(a0) move.w #$78,$30(a0) I will list you the labels from different Sonic 1 disassemblies: Sonic 1 Hivebrain: Obj01_RmvInvin Sonic 1 GitHub: @removeinvincible (under the file "Sonic Display.asm" in the _incObj folder) What it does is the first line will set the invulnerability frames and the second line will run 70 frames of invulnerability before you go back to normal. A pretty neat upgrade if you fancy not getting accidental hits. Now it's your turn! What small piece of code would you want to share that you believe isn't thread-worthy? Good luck!