Skip to content

Commit

Permalink
Merge pull request #5 from CosmicPikachu001/patch
Browse files Browse the repository at this point in the history
Post-SHC Patch (Proper)
  • Loading branch information
CosmicPikachu001 authored Oct 14, 2024
2 parents f646e47 + 40f18de commit 07bf95f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"Description": "Adds Metal Sonic as a custom boss in DEZ2, replacing Death Ball.",
"URL": "",
"ModVersion": "3.1.1",
"GameVersion": "24.07.01.0"
"GameVersion": "24.02.02.0"
}
}
9 changes: 8 additions & 1 deletion scripts/main.lemon
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
//include shc
include credits

#if GAMEAPP < 0x24070100
function s32 System.randRange(s32 min, s32 max)
{
return (System.rand() + min) % max
}
#endif

global float MetalSonic.scale
global float jetScale
global u8 jetScaleDir
Expand Down Expand Up @@ -816,4 +823,4 @@ function void CheckForBossStart()

A1 = objA0.countdown_callback
call A1
}
}

0 comments on commit 07bf95f

Please sign in to comment.