mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-11 23:24:59 +00:00
Removed all uses of ID numbers for species, some other code changes for abolishing ID numbers
This commit is contained in:
@@ -42,7 +42,7 @@ def pbRandomMove
|
||||
loop do
|
||||
move_id = keys[rand(keys.length)]
|
||||
move = GameData::Move.get(move_id)
|
||||
next if move.id_number > 384 || move.id == :SKETCH || move.id == :STRUGGLE
|
||||
next if move.id == :SKETCH || move.id == :STRUGGLE
|
||||
return move.id
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user