cave-story-randomizer/cs-hacks/IncreaseMAX_STRIP/InitCreditScript.txt
duncathan c9e8d0452d reduces size of MAX_STRIP to 0x40 instead of 0x7F
this technically introduces a memory leak which increases memory usage each time credits are rolled, but it's pretty insignificant imo
2021-04-01 22:22:34 -06:00

36 lines
336 B
Plaintext

offset 40d3e0
#define
size=50
MAX_STRIP=40
Strip_addr=0049d628
#enddefine
PUSH EBP
MOV EBP,ESP
PUSH 18
PUSH 0
PUSH 0049D610
CALL 00480D30
ADD ESP,0C
/*
PUSH 500
PUSH 0
PUSH 0049D628
CALL 00480D30
ADD ESP,0C
PUSH size
PUSH MAX_STRIP
CALL 00487701
ADD ESP,8
MOV [Strip_addr],EAX
*/
XOR EAX,EAX
MOV [Strip_addr],EAX
POP EBP
RETN
INT3