Rimudora Psychopath yandere Halloween 2006 Creativity Winner


Joined: 26 May 2005 Posts: 335
|
Posted: Fri Nov 27, 2009 4:50 pm Post subject: bug? with getattackname() |
|
|
I used the following code to test the bug, using a blank .rpg file where the attacks have been given names like "Zero", "One", "Two", and so on.
Code: | plotscript,test,begin
variable(temp)
for(temp,-3,3) do,begin
showvalue(temp)
getattackname(1,temp)
showstringat(1,0,0)
waitforkey(usekey)
end
end |
The problem is that getattackname(1,0) gives me the name of attack #1,
getattackname(1,1) gives me the name of attack#2, and so on.
getattackname(1,-1) and earlier doesn't give me anything, so it's technically impossible to get the attack name of attack #0.
I've tried this out on both the latest nightly and xocolatl+2 |
|