I know this probably isn't the best way to write what I'm doing, so beware of that. Any help uncovering the culprit would be much appreciated.
Code:
plotscript,begin
show textbox (2180)
wait for textbox
variable (xpmulti)
variable (xpmulti2)
variable (xpamount)
if (room in active party == 3) then (
xpmulti := 1)
if (room in active party == 2) then (
xpmulti := 2)
if (room in active party == 1) then (
xpmulti := 3)
if (room in active party == 0) then (
xpmulti := 4)
xpmulti2 := (get hero level(hero:Fred) * 10)
xpamount := xpmulti * xpmulti2
giveexperience (party, xpamount)
end
show textbox (2180)
wait for textbox
variable (xpmulti)
variable (xpmulti2)
variable (xpamount)
if (room in active party == 3) then (
xpmulti := 1)
if (room in active party == 2) then (
xpmulti := 2)
if (room in active party == 1) then (
xpmulti := 3)
if (room in active party == 0) then (
xpmulti := 4)
xpmulti2 := (get hero level(hero:Fred) * 10)
xpamount := xpmulti * xpmulti2
giveexperience (party, xpamount)
end
Cornbread Chemist



