how would i go about changing the goal on this game http://www.goldminer1.com
heres my code i edited so far:
http://pastebin.com/xWZwJm2Q
^ click the link above!
im using Flasm right now!
Printable View
how would i go about changing the goal on this game http://www.goldminer1.com
heres my code i edited so far:
http://pastebin.com/xWZwJm2Q
^ click the link above!
im using Flasm right now!
toCode:push 'goal', VALUE HERE
Code:push 'goal', 0.0
i used ctrl F and it says thats not in there or do i have to add it, sorry im such a newb =.=
Search for :
then when you see something like:Code:push 'goal'
change it toCode:push 'goal', 325
Code:push 'goal', 0.0
ok, i got that but how do i make my own Goal numbers
I see two
that you should change to what you want.Code:push 'goal', 325
One on line 88 and one on line 124.
You might also wanna change this so the goal doesn't get any higher:
toCode:constants 'goal', 'goalAddOn', 'goalAddon', 'goalDis', '$', 'levelDis', 'level'
push 'goal', 375
setVariable
push 'goalAddOn', 'goalAddOn'
getVariable
push 275
add
setVariable
push 'goal', 'goal'
Code:constants 'goal', 'goalAddOn', 'goalAddon', 'goalDis', '$', 'levelDis', 'level'
push 'goal', 0.0
setVariable
push 'goalAddOn', 'goalAddOn'
getVariable
push 0.0
add
setVariable
push 'goal', 'goal'
ok how do you add these to like a custom website ?
Quote:
Originally Posted by Cronicx321
Change 375 to what you want.Code:push 'goal', 375
What do you mean? Like how do you upload it to your own site so others can play it?Quote:
Originally Posted by Cronicx321
Upload it here: http://arcadeprehacks.com/submit/form.htmlQuote:
Originally Posted by Cronicx321