トピック
DereK Derekninja555

GRP0 to GRP4/BGTILES

So as a lot of you know I am making UndertaleSB™(not realy ™) and I need to use PetitModem and it goes to GRP0 and I need to use GRP4 or BG. Does anyone know how to copy GRP0s to GRP4s?
1そうだね
プレイ済み
返信[1]
親投稿
V360 TheV360
Use LOAD "GRP[GRP page]:filename" when loading.
0そうだね
プレイ済み
返信[2]
親投稿
DereK Derekninja555
No I mean if I have a GRP0 and I want to load it into a GRP4 or BG slot.
0そうだね
プレイ済み
返信[3]
親投稿
V360 TheV360
There is no part of a GRP file that forces it to be on a specific page. If that's not what you meant, then maybe use GPAGE and GCOPY.
0そうだね
プレイ済み
返信[4]
親投稿
MathPRG MathProgrammer
Like V360 is saying, all a GRP file really is is a data (DAT) file, so it can actually be used on any page, regardless of which page it was on when it was saved. The page number is only specified when saving so SmileBASIC knows which page to use as the source for the saved file.
0そうだね
プレイ済み
返信[5]
親投稿
MathPRG MathProgrammer
For example, although it was intended to be a SPRITE file, LOAD"GRP2:SYS/DEFSP.GRP" works perfectly fine and will load the default sprite sheet into the second GRP page.
0そうだね
プレイ済み