Skip to content

Commit

Permalink
Update map to ADL/MEL
Browse files Browse the repository at this point in the history
  • Loading branch information
yujiyokoo committed Feb 12, 2023
1 parent 472e977 commit f660867
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 2 deletions.
Binary file added res/backgrounds/ADL_MEL.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/backgrounds/ADL_MEL_br.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions res/bin/rubyconf_au.txt
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,12 @@ Twitter/GitHub
=
-title: Tiles

-img,4,2,adl_bkk:
-img,4,2,adl_mel:

=
-title: Tiles

-img,4,2,adl_bkk_br:
-img,4,2,adl_mel_br:

=
-title: Scroll
Expand Down
2 changes: 2 additions & 0 deletions res/resources.res
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,5 @@ IMAGE mrubyloading_001 "backgrounds/mrubyloading_001.png" NONE ALL
IMAGE mrubyloading_002 "backgrounds/mrubyloading_002.png" NONE ALL
IMAGE mrubyloading_003 "backgrounds/mrubyloading_003.png" NONE ALL
IMAGE mrubyloading_004 "backgrounds/mrubyloading_004.png" NONE ALL
IMAGE adl_mel "backgrounds/ADL_MEL.png" NONE ALL
IMAGE adl_mel_br "backgrounds/ADL_MEL_br.png" NONE ALL
4 changes: 4 additions & 0 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,10 @@ static void c_megamrbc_draw_image(mrb_vm *vm, mrb_value *v, int argc) {
image = &mrubyloading_003;
} else if(name_match(img_name, "mrbld_004")) {
image = &mrubyloading_004;
} else if(name_match(img_name, "adl_mel")) {
image = &adl_mel;
} else if(name_match(img_name, "adl_mel_br")) {
image = &adl_mel_br;
}

PAL_setPaletteDMA(PAL3, image->palette->data);
Expand Down

0 comments on commit f660867

Please sign in to comment.