function IsPetMasterMoved( PetMem ) cExecCheck( "IsPetMasterMoved" ) if PetMem == nil then DebugLog( "IsPetMasterMoved::PetMem is nil" ) return nil end local tMasterCoord = PetMem["MasterInfo"]["Coord"]["Cur"] local tMasterLastCoord = PetMem["MasterInfo"]["Coord"]["Last"] if tMasterLastCoord["x"] ~= tMasterCoord["x"] then return true end if tMasterLastCoord["y"] ~= tMasterCoord["y"] then return true end return false end function PetBaseScriptMessage( nHandle, sScriptMessageIndex ) cExecCheck( "PetBaseScriptMessage" ) -- ÆêÀÌ ¸»À» ÇÑ´Ù. if sScriptMessageIndex ~= "-" then -- ¸»ÇÏ´Â ÇൿÀ» »©°í´Â ŸÀÌ¹Ö °ü°è ¾øÀÌ Ã¹ ½ºÅÜ¿¡ ¸»À» ÇÑ´Ù. cSimpleChatScriptMsg( nHandle, sScriptMessageIndex ); -- ¾ÆÁ÷ ±¸Çö ¾ÈµÊ end end function PetBaseObjectEffect( nHandle, sObjectEffectFileName ) cExecCheck( "PetBaseObjectEffect" ) -- Æê¿¡ Çì¾îÀÌÆåÆ® ¶° if sObjectEffectFileName ~= "-" then -- µ¥ÀÌÅÍ Ãß°¡µÇ¸é ±¸ÇöÇÒ°Í cObjectEffect( nHandle, sObjectEffectFileName ); end end function PetBaseObjectSound( nHandle, sObjectSoundFileName ) cExecCheck( "PetBaseObjectSound" ) -- Æê Çൿ¿¡ »ç¿îµå ºÙ¿© if sSoundFile ~= "-" then -- µ¥ÀÌÅÍ Ãß°¡µÇ¸é ŸÀֿ̹¡ ¸ÂÃç¼­ ¼Ò¸®°¡ ³ª¿Àµµ·Ï Å×½ºÆ® ÇÏ¸ç ±¸ÇöÇÒ °Í cObjectSound( nHandle, sObjectSoundFileName ); end end