Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #==============================================================================
- # ■ Window ActorCommand
- #==============================================================================
- class Window_ActorCommand < Window_Command
- #--------------------------------------------------------------------------
- # ● Refresh Command Name
- #--------------------------------------------------------------------------
- def refresh_command_name
- return if @sprite_command_name == nil
- @old_name_index = self.index
- @sprite_command_name.bitmap.clear
- text = @list[self.index][:name]
- text = text.to_s
- if text == "Verteidigung" && $game_switches[TL::LangSwitch_ID]
- text = "Defense "
- elsif text == "Zauber" && $game_switches[TL::LangSwitch_ID]
- text = "Magic "
- elsif text == "Gegenstände" && $game_switches[TL::LangSwitch_ID]
- text = "Inventory "
- end
- if COMMAND_TYPE == 4
- @sprite_command_name.bitmap.draw_text(0,0,120,32,text.to_s,1)
- else
- @sprite_command_name.bitmap.draw_text(0,0,120,32,text.to_s,2)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement