http://www.gamebaker.com/rmxp/scripts/call-script-fix.htm
이벤트 편집->스크립트에서 스크립트 한줄을 길게 입력하면 중간에 줄바꿈문자가 들어가는데 그것을 수정하는 스크립트입니다. 물론, 정품이 아닌 스크립트 입력창을 확장한 몇몇 핵버전(Postality Knights Edition등)을 사용한다면 이 스크립트가 필요하지 않습니다.
#=============================================================================
# ** SG Call Script Fix
#=============================================================================
# sandgolem
# Version 1
# 6.05.06
#=============================================================================
#
# To check for updates or find more scripts, visit:
# http://www.gamebaker.com/rmxp/scripts/
#
# To use this script, copy it and insert it in a new section above "Main",
# but under the default scripts and the SDK if you're using it.
#
# Have problems? You can leave me a message at:
# http://www.gamebaker.com/users/sandgolem
#
#=============================================================================
#--------------------------------------------------------------------------
# * SDK Log Script
#--------------------------------------------------------------------------
begin
SDK.log("SG Call Script Fix", "Sandgolem", 1, "6.05.06")
if SDK.state("SG Call Script Fix") != true
@sg_callscriptfix_disabled = true
end
rescue
end
#--------------------------------------------------------------------------
# * Begin SDK Enable Test
#--------------------------------------------------------------------------
if !@sg_callscriptfix_disabled
class Interpreter
def command_355
script = @list[@index].parameters[0]
if @list[@index].parameters[0].length != 38
script = script + "n"
end
loop do
if @list[@index+1].code == 655
script += @list[@index+1].parameters[0]
if @list[@index+1].parameters[0].length != 38
script = script + "n"
end
else
break
end
@index += 1
end
result = eval(script)
if result == false
return false
end
return true
end
end
#--------------------------------------------------------------------------
# * End SDK Enable Test
#--------------------------------------------------------------------------
end
이벤트 편집->스크립트에서 스크립트 한줄을 길게 입력하면 중간에 줄바꿈문자가 들어가는데 그것을 수정하는 스크립트입니다. 물론, 정품이 아닌 스크립트 입력창을 확장한 몇몇 핵버전(Postality Knights Edition등)을 사용한다면 이 스크립트가 필요하지 않습니다.
#=============================================================================
# ** SG Call Script Fix
#=============================================================================
# sandgolem
# Version 1
# 6.05.06
#=============================================================================
#
# To check for updates or find more scripts, visit:
# http://www.gamebaker.com/rmxp/scripts/
#
# To use this script, copy it and insert it in a new section above "Main",
# but under the default scripts and the SDK if you're using it.
#
# Have problems? You can leave me a message at:
# http://www.gamebaker.com/users/sandgolem
#
#=============================================================================
#--------------------------------------------------------------------------
# * SDK Log Script
#--------------------------------------------------------------------------
begin
SDK.log("SG Call Script Fix", "Sandgolem", 1, "6.05.06")
if SDK.state("SG Call Script Fix") != true
@sg_callscriptfix_disabled = true
end
rescue
end
#--------------------------------------------------------------------------
# * Begin SDK Enable Test
#--------------------------------------------------------------------------
if !@sg_callscriptfix_disabled
class Interpreter
def command_355
script = @list[@index].parameters[0]
if @list[@index].parameters[0].length != 38
script = script + "n"
end
loop do
if @list[@index+1].code == 655
script += @list[@index+1].parameters[0]
if @list[@index+1].parameters[0].length != 38
script = script + "n"
end
else
break
end
@index += 1
end
result = eval(script)
if result == false
return false
end
return true
end
end
#--------------------------------------------------------------------------
# * End SDK Enable Test
#--------------------------------------------------------------------------
end