Rance IX:Game mechanics

http://pastebin.com/GQBPcZvD