Change the map
This commit is contained in:
parent
74042d2c9e
commit
39f71e65f7
Binary file not shown.
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 90 KiB |
Binary file not shown.
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 546 B |
|
@ -96,7 +96,6 @@ int get_inputs(const int background, int *mutation_menu, int *boost)
|
|||
int key = rtc_key();
|
||||
|
||||
if (key == KEY_ARROW) *boost = (*boost + 1) % 2;
|
||||
if (key == KEY_OPTN && (background == 1 || background == 2)) return (background % 2) + 1;
|
||||
if (key == KEY_VARS)
|
||||
{
|
||||
*mutation_menu = 4;
|
||||
|
@ -104,7 +103,7 @@ int get_inputs(const int background, int *mutation_menu, int *boost)
|
|||
}
|
||||
if (key == KEY_SQUARE)
|
||||
{
|
||||
if (background == 1 || background == 2) return 6;
|
||||
if (background == 1) return 6;
|
||||
else if (background == 6) return 1;
|
||||
}
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
void display_background(const int background)
|
||||
{
|
||||
extern const bopti_image_t img_bground;
|
||||
dsubimage(0, 0, &img_bground, 0, 65 * (background - 1), 128, 64, DIMAGE_NONE);
|
||||
dsubimage(0, 0, &img_bground, 0, 225 * (background - 1), 396, 224, DIMAGE_NONE);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue