mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 14:14:59 +00:00
Removed all code relating to RMVX
This commit is contained in:
@@ -259,8 +259,7 @@ class PokemonLoadScreen
|
||||
savefile = RTP.getSaveFileName("Game.rxdata")
|
||||
FontInstaller.install
|
||||
data_system = pbLoadRxData("Data/System")
|
||||
mapfile = ($RPGVX) ? sprintf("Data/Map%03d.rvdata",data_system.start_map_id) :
|
||||
sprintf("Data/Map%03d.rxdata",data_system.start_map_id)
|
||||
mapfile = sprintf("Data/Map%03d.rxdata",data_system.start_map_id)
|
||||
if data_system.start_map_id==0 || !pbRgssExists?(mapfile)
|
||||
pbMessage(_INTL("No starting position was set in the map editor.\1"))
|
||||
pbMessage(_INTL("The game cannot continue."))
|
||||
|
||||
@@ -84,7 +84,7 @@ end
|
||||
|
||||
|
||||
#===============================================================================
|
||||
# Abstraction layer for RPG Maker XP/VX
|
||||
# Abstraction layer for RPG Maker XP
|
||||
# Won't be used if $PokemonBag exists
|
||||
#===============================================================================
|
||||
class RpgxpMartAdapter
|
||||
@@ -894,33 +894,3 @@ class Interpreter
|
||||
setPrice(item,-1,sellprice)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
||||
class Game_Interpreter
|
||||
def getItem(p)
|
||||
if p[0]==0; return $data_items[p[1]]
|
||||
elsif p[0]==1; return $data_weapons[p[1]]
|
||||
elsif p[0]==2; return $data_armors[p[1]]
|
||||
end
|
||||
return nil
|
||||
end
|
||||
|
||||
def command_302
|
||||
shop_goods = [getItem(@params)]
|
||||
# Loop
|
||||
loop do
|
||||
# Advance index
|
||||
@index += 1
|
||||
# If next event command has shop on second line or after
|
||||
if @list[@index].code == 605
|
||||
# Add goods list to new item
|
||||
shop_goods.push(getItem(@list[@index].parameters))
|
||||
else
|
||||
# End
|
||||
pbPokemonMart(shop_goods.compact,nil,@params[2])
|
||||
return true
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user