SRL Archive - OSR Help

OSR gametab.simba


ikillthechickens

2013-03-23 19:08:08

Hi!

I want to test the HPPercent function in gametab.simba.

So i include it at the top like so

{$include SRL-OSR/SRL/misc/gametab.simba} 

and when i call HPPercent i get this error

Duplicate identifier 'GETCURRENTTAB' at line 42
which is form the gametab.simba file

The other includes in misc/ seem to work fine

litoris

2013-03-24 04:06:38

Just include SRL-OSR/SRL.simba or wherever the main file is located. Because HPPercent is in the core, it is automatically included this way, and it might be depending on functions from other files.