Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- begin
- # 1. Paste this script right above main
- # 2. Run the game once in playtest mode, then exit
- # 3. Close and reopen RPG Maker WITHOUT saving
- # 4. Delete this script immediately afterwards
- old_string = "Ralph" # EDIT HERE
- new_string = "Bongo" # EDIT HERE
- map_files = Dir['Data/Map???.rvdata2']
- map_files.each { |file|
- map_data = load_data(file)
- map_data.events.each_pair { |i, event|
- event.pages.each_with_index { |page, j|
- page.list.each_with_index { |command, k|
- if command.code == 401
- text = command.parameters[0].gsub(old_string, new_string)
- map_data.events[i].pages[j].list[k].parameters[0] = text
- end
- }
- }
- }
- save_data(map_data, file)
- }
- end if true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement