mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Minor new additions for v20 (#147)
* Moved TMs/ TRs and HMs into their own handlers * Improved Plugin Error Message * Added sound effect when picking berries * Allow player to always see quantity when buying items * Trainers now require a Mega Ring item in their items (in trainers.txt) to Mega Evolve
This commit is contained in:
@@ -421,10 +421,8 @@ end
|
||||
def pbMoveTutorChoose(move, movelist = nil, bymachine = false, oneusemachine = false)
|
||||
ret = false
|
||||
move = GameData::Move.get(move).id
|
||||
if movelist != nil && movelist.is_a?(Array)
|
||||
movelist.length.times do |i|
|
||||
movelist[i] = GameData::Move.get(movelist[i]).id
|
||||
end
|
||||
if movelist.is_a?(Array)
|
||||
movelist.map! { |m| GameData::Move.get(m).id }
|
||||
end
|
||||
pbFadeOutIn {
|
||||
movename = GameData::Move.get(move).name
|
||||
|
||||
Reference in New Issue
Block a user