Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Game_Interpreter
- def last_event_code
- @list[@index - 1].code
- end
- end
- class Window_ChoiceList < Window_Command
- def update_placement
- self.width = [max_choice_width + 12, 96].max + padding * 2
- self.width = [width, Graphics.width].min
- self.height = fitting_height($game_message.choices.size)
- if last_event_code == 101
- self.x = Graphics.width - width
- if @message_window.y >= Graphics.height / 2
- self.y = @message_window.y - height
- else
- self.y = @message_window.y + @message_window.height
- end
- else
- self.x = 165
- self.y = 120
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement