http://gilgamesh.hamsterrepublic.com/cgi-bin/bugzilla/show_bug.cgi?id=336
[EMAIL PROTECTED] changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Comment #8 from [EMAIL PROTECTED] 2007-06-16 00:29 -------
I deleted the irrelevant if blocks and indented the rest of Dehydration and got
this:
script,Dehydration,begin
variable (t)
variable (e)
variable (m)
variable (h)
variable (a)
variable (p)
set variable (t,get hero stat (0,stat:EP,current stat))
set variable (m,get hero stat (0,stat:HP,current stat))
if (t>>0)
then,begin(
reset palette
fade screen in
set variable (e,t--4)
set hero stat (0,stat:EP,e,current stat)
show value (e)
)
end
else,begin(
if (t<=0)
then,begin(
set hero stat (0,stat:EP,0,current stat)
tweak palette (56,0,0)
fade screen in
set variable (m,get hero stat (0,stat:HP,current stat))
set variable (h,m--4)
set hero stat (0,stat:HP,h,current stat)
show value (h)
if (h<=0)
then,begin(
Fallen
)
end
)
end
)
end
end
You have extra parenthesis all over the place. But also, you are fading in the
screen every single tick. The assembly allmodex library did fadeins in the
background, but the FreeBasic rewrite waits for fadeins.
--
Configure bugmail:
http://gilgamesh.hamsterrepublic.com/cgi-bin/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org