Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #===============================================================================
- #
- # Este Script permite que las ventanas para elegir sean como en
- # RPGMaker Vx
- # Centrandolas abajo en vez de a la derecha arriba.
- #===============================================================================
- class Window_ChoiceList < Window_Command
- #===============================================================================
- # ▼ Actualización de la posición de la ventana.
- #===============================================================================
- def update_placement
- self.width = 544
- self.width = 544
- self.height = fitting_height(3)
- if $game_message.face_name.empty?
- self.x = 0
- else
- self.x = 112
- self.width -= 112
- end
- if @message_window.y >= Graphics.height / 2
- self.y = @message_window.y + 24 # Altura
- else
- self.y = @message_window.y + 24 # Altura
- end
- self.z = 201
- self.opacity = 0
- end
- end
- #===============================================================================
- #
- # ▼ Fin
- #
- #===============================================================================
Advertisement
Add Comment
Please, Sign In to add comment