The Communal To-Do List

i have a routine that ups stats and shit but you should probably do the whole text box thing for yourself

I think I have this figured out – it is just a 2-D array, but it’s fairly simple if we just access it through, like, the actual pointers? Rather than trying to index it ourselves. It’s just that it seems to allocate the space in a weird way, but I think the pointers are fairly straightfoward. (Or at least, the FoW 2d array is simple and I may be misremembering the unit map… but I think it’s doable)

Totally done, or at least we know which bytes to change. [FE7] The Official AI Documentation Thread - #16

i have been done with this for months, it’s just that i wrote it with my new assembly patcher specs and i haven’t gotten around to writing the patcher

doc link

there’s a plugin for modular battle that makes use of this, and you could probably screw with the “finder_func” that exists somewhere else in that doc to finish up the event command

I did this.

I finished the arms scroll for FE7

1 Like

I made a Juna Fruit item for FE7
So…can someone test it for me?
I’m still working on it but it should work and actually print out how many levels get subtracted

here’s source if you want

Oh, I can test it. How do I add it ingame, and how do I choose how many levels to subtract?

It appears to be coded to subtract a random amount (1d5) right now.

It also appears not to have a check for level requirements (unless item code does that somewhere else?), and I don’t see how it actually prints the message (although it’s clearly loading a character for the level number to some magic IRAM location)…

also >using swi division straight out

there are stdlib function calls or actual native div functions to use

The check and print out are done separately. I figured you could use the condition for the promotion item and the game natively loads separate code to print the text when the item is used. 0x3000080 is the address the game uses to hold the ASCII value for gold so you can use the [G] command to load the prandom number. Yeah it’s kinda weird, but I can’t think of a better way to display the levels.
Suggestions are welcome if anyone has any

@Klok – do this:

pick an item to sacrifice (ideally a stat boost item)
paste [this][1] somewhere in your ROM.
go to the item’s location in the item use table and put in the new pointer
go to the item’s location in the condition table and put a pointer from one of the promotion items
in feditor, choose a text slot to sacrifice and put “[G] levels lost” there
paste [this][2] into some free space and change the 50 07 to the text ID you used
go to the item’s spot in the text table and put in the new pointer
test
[1]: http://pastebin.com/CAgwspeZ
[2]: http://pastebin.com/RZWt6QCM

dynamically generate text and have a test slot in the pointer table point to a spot in ram. I’ve done it before.

that sounds needlessly complicated when I just need one character to be dynamic

Fuck
I’m experiencing technical difficulties. Don’t test it yet, I fucked up the code >_>

Not even, since promotion items require certain classes.

word? I thought it just checked levels
well that’s not difficult to do anyway so it’s OK
The item functions just fine but I can’t get the random number to print properly >_<

Come to think of it, using the [G] code is actually a good idea, because you don’t want to hard-code the corresponding text in the code. I bet there’s an actual existing number-to-string code you should be calling instead though. And I bet it null-terminates the string, which I bet is what you’re missing

yeah that was the idea because the number is a prandom number. Well there is one that converts the gold value into the proper ASCII characters but the way I’m doing it, I’m directly storing the ASCII characters so I don’t know. It’s too bad I can’t concatenate strings, I could have one slot to point to an address in RAM and one hardcoded to be added to the end (saying like “Levels lost” or something). I looks like the game uses separate functions to load the gold value and just putting the [G] command isn’t enough; at least not in this context. I’m starting to think using the [Item] command might be easier but I don’t know the RAM address associated with it.
I guess I could cope out and not make it print the levels out but I ain’t no quitter
this is still easier than the arms scroll though
so it looks like NONE of the commands display right, not even [Tact]
I’m actually legitimately stumped

Yeah uh, you said it best.

too hard?