Vesly's ASM / C

Finally fixed number entry today.

image

The issue was that with multilines, it was terminating when it reached 0x00 0x00 instead of just 0x00, basically. Thanks for bringing it up as an issue.

6 Likes

Fixed the issues I found with unit expansion. In particular, units were duplicated sometimes originally, which I’d tried to fix, but in doing so I made it so units disappeared sometimes. I needed a break from it and it was working well enough in pokemblem, so I neglected it for a year. Hopefully if any more issues are found with it, I won’t procrastinate for a year before fixing it :crossed_fingers:

4 Likes

You do great work Vesly, I love seeing what you come up with next.

3 Likes

I found a VERY small issue with Support Post Battle.

When installing it in the modern buildfile, it works fine.

But installing it in a SkillSystem Custom Build makes a sound play when the hearts pop up. Specifically, the sound that plays when the (!) Symbol appears when running into a hidden enemy in Fog of War.

Could this be fixed? Or potentially, could code be added for it to play a different sound? I think the added sound effect functionality could be useful.

1 Like

That’s part of 7743’s patch. Just change the SHORT 0x77 part to 0.

https://github.com/Veslyquix/ASM/blob/main/SupportPostBattle/MapEmoticon/EmoticonInstaller.event#L133

2 Likes

I see. So the 77 is the ID of the Sound Effect. Correct? Can I just change it to anything else?

Yes‎ ‎

Debugger

Crossposting this debug suite to make finding it easier for people in the future.

11 Likes

Arrow Colour

Pretty basic hack…

mGBA_KaoI15euLC

If someone sends me palettes for the arrow, I’ll put them in the installer.

13 Likes

Give me a few hours

2 Likes

I know it’s not a big deal if this can’t be done but do you think a toggle between colours can be implemented in the options menu (like you would have for animations or backgrounds of character portraits)?

Taking over your game options menu means that nothing else can make changes to it, so I don’t do it in my coding releases. But you can put anything you want in there following my setup to toggle a global flag by copying this:
https://github.com/Veslyquix/Pokemblem/tree/master/Patches/GameOptions

It only supports two options per entry, but I used this myself without issue.

If this is too difficult, then you can toggle flags based on yes / no conversations or the lord split menu.

5 Likes

Ohhh I see yeah no wonder people don’t mess with that menu too much in the first place, thanks for the clarification :blush:

2 Likes

Maybe you could make a separate release that makes the Arrow color a Game Option? Just a suggestion

Also, here’s a palette for a Red Arrow
ArrowRed

9 Likes

Here’s yellow lol
FEBoG Arrow

7 Likes

Here, you can have my arrow
Arrow

5 Likes

Meteo AVI to GBA / Custom Opening

I was curious about a custom opening after reading about it in these places:
https://feuniverse.us/t/custom-op-movie-insertion/5849
https://feuniverse.us/t/mokhas-hacks-sundries/16204/88
https://feuniverse.us/t/custom-game-opening-tutorial/27500

I’ve come to the conclusion that the Meteo tool by kran27 is still the ideal way to add a video opening to a gba game.

How I got there…
Linked in @MisakaMikoto’s repo was a recent video guide by AetherDust with some code to move the video into free space and repoint as necessary. Unfortunately, they were using vba-rr and didn’t notice that the game would reset in mgba when exiting the video. This was because interrupts were disabled, which @Leonarth helped me figure out. I tried several things for many hours before this which did not solve the reset. Lastly, AetherDust had only made repointing work for offsets below 16 mb, so I fixed that. After many hours and changing very little, I got it to work!

mGBA_kY0MoBVBvp-ezgif.com-optimize

I made a brief readme for the few steps here:
https://github.com/Veslyquix/ASM/tree/main/Meteo-AVI-to-GBA#readme

61 seconds of video + audio added 3.5 mb to the rom with the pokemon opening video I used as a test. By comparison, Mokha’s version is around 6 mb for the same thing without audio. However, I think Mokha’s work is still useful as it could potentially be called via events in the future. I am pretty doubtful that Meteo’s processed video could be called in an event and things could return to normal afterwards.

Installing a custom opening this way should be considered experimental for now. I recommend you install it before releases, but not permanently on your rom until many people have tried using it without experiencing issues.

Credits for this primarily goes to kran27 for making Meteo and AetherDust. All I did was debug AetherDust’s code and fix a couple issues. Additional thanks to Laqieer and Leonarth.

23 Likes

Aside from the size difference? What are the differences between this and Mokha’s ASM?

Mokha’s is like inserting a GIF into the ROM. How is this displaying the video?

I think this is also higher quality. Seems to be in bitmap mode to allow for 32k colours:

I don’t really understand it, so you’d have to ask kran27 how they did it. They are not on these forums afaik. You could read up on gba bitmap modes on tonc or gbatek, but it’s beyond me.

3 Likes