Reorganized files

This commit is contained in:
Mathew Velasquez 2015-11-22 18:06:34 -05:00
parent 66b1cbe21f
commit c0bf423bbf
16 changed files with 153 additions and 156 deletions

14
scripts/Puzzle_Sokoban.rb Normal file
View file

@ -0,0 +1,14 @@
CORRECT_RAM_POSITIONS = [[80, 59], [79, 63], [80, 65], [83, 59], [85, 61]]
def ram_integrity_check
result = true
$game_map.events.each do |key, event|
if event.name =~ /^sokoram [ABCDE]$/
if !CORRECT_RAM_POSITIONS.include? [event.x, event.y]
result = false
break
end
end
end
Script.tmp_s1 = result
end