Conversation Between Blah and Kenny1
Showing Visitor Messages 1 to 15 of 23
-
December 4th, 2014 7:31 AMBlahOaks tutorial and those "multi-choice" boxes work differently. I'm not sure why texts don't load properly or whatever it is that's the problem, but I'm honestly not interested in graphics.
-
December 4th, 2014 12:08 AMKenny1Hi, I finally finished the routine, it doesnt crash the rom, and as far as I see, doesn't mess with the graphics(it does ;-;). Can I post it?
Edit~ Any idea how to add exceptions for battles and multiple choice?
So, I found out that 'some' textboxes dont load properly. like the multiple choice one, and the box that goes around a showsprite. Also, Oaks tutorial doesnt work ;-;. I'm still looking into it though, cuz this could be a cool feature to have. -
November 27th, 2014 11:27 AMBlahConfirm the offset 0x020370de and the offset you're using at table. The routine itself seems fine.
-
November 27th, 2014 11:13 AMKenny1I don't understand, that offset is EXACTLY the same in other FR roms ;-; The routine doesn't even change it
-
November 27th, 2014 11:10 AMKenny1;-; Now it says undefined opcode there where gamefreak appears.
-
November 27th, 2014 11:04 AMBlahYou branch from at 0814FEC4, you put the asm in free space :o
-
November 27th, 2014 11:02 AMKenny1The hook, or the ASM?
-
November 27th, 2014 10:57 AMBlahat 0814FEC4
-
November 27th, 2014 10:56 AMKenny1:|, I didn't know that, where would I place the hook?
Edit~ It didn't work, during the flashback, it turned into a black screen ;-; -
November 27th, 2014 7:29 AMBlahOh dear, this routine has a few things wrong with it essentially. Did you run it through a debugging program? and step through it ingame?
I took a quick peek just now, the routine you're branching from is called not only for text boxes, but the block boxes too (start menu, map names) but not for sign boxes :P
Anyways, I fixed your routine's errors. Now if you insert this at 0814FEC4, it should come out better. Ofcourse where deadbeef is the real table :P
Spoiler:
.text
.thumb
.thumb_func
.align 2
Main:
lsl r0, r0, #0x18
lsr r0, r0, #0x18
ldr r3, .Var
ldrh r3, [r3]
ldr r1, .TableOffset
lsl r3, #0x2
add r1, r1, r3
ldr r2, =(0x814FECA +1) @returning here won't change the pals
bx r2
.align 2
.Var:
.word 0x020370de
.TableOffset:
.word 0xDEADBEEF @ummm, get the right one lol
-
November 26th, 2014 11:00 PMKenny1Ok, I dont Think I'll be getting this right ;-;. So, I'll give you the offset where you can change the offset of r1, to change it. At 0814FED0 there is a bl 80017D0, the value in r1 should be changed before this, to the offset of the image, not a pointer, the offset(dont ask me why). I posted this, so that you can maybe make a routine that will work, if you want, I can post my non working routine again.
Spoiler:.text
.thumb
.thumb_func
.align 2
Main:
push {r0-r4, r7, lr}
bl Checkvar
ldrh r0, [r0]
ldr r2, .TableOffset
lsl r0, #0x2
ldrh r1, [r0, r2]
bl Return
Checkvar:
push {lr}
ldr r0, .Var
pop {pc}
Return:
mov r2, #0x0A0
lsl r2, r2, #0x2
mov r3, r4
ldr r7, .Ret
pop {r0, r2-r4}
bx r7
.align 2
.Var:
.word 0x020370de
.TableOffset:
.word 0xDEADBEEF
.Ret:
.word 0x0814FED1 -
November 26th, 2014 10:44 PMKenny1My routine no longer crashes the rom, now it makes the map go black(or green) and textboxes no longer show up, even in battle.
-
November 26th, 2014 10:43 AMBlahldrb works the same as strb :D
I think :D -
November 26th, 2014 9:50 AMKenny1Yeah, It failed again.
I think its the way I used ldrb, I actually forgot how it works :P -
November 26th, 2014 9:47 AMBlahGreat work, you can post it on the resources thread I made if you want. Sorry I wasn't much help :P

