1
Character skill advancement / Re: HopKiddo Ninjitsu Trainer
« on: March 22, 2017, 11:15:08 AM »
The missing return statement on the SkillCheck subroutine may be causing your eventual crash.
Never even used this, but if you are using original as posted, that could be your memory leak.
Original:
Add at line 73 a return
Never even used this, but if you are using original as posted, that could be your memory leak.
Original:
Code: [Select]
Until #CharGhost = Yes
pause
;==========================================================
Sub SkillCheck
ChooseSkill ninj real
If #Skill = %NinjitsuGoal
{
Display You have acheived your goal. Go sneak away and kill someone!
Halt
}
;==========================================================
;Ground Targetting
sub targetground
Add at line 73 a return
Code: [Select]
Until #CharGhost = Yes
pause
;==========================================================
Sub SkillCheck
ChooseSkill ninj real
If #Skill = %NinjitsuGoal
{
Display You have acheived your goal. Go sneak away and kill someone!
Halt
}
return
;==========================================================
;Ground Targetting
sub targetground