[Hangout] Ace Attorney Courtroom

[Hangout] Ace Attorney Courtroom 4.3

fiumals

Member
Modder
Jun 11, 2026
12
4
200
Pronouns
he/they
fiumals submitted a new mod:

[MAP] Ace Attorney Courtroom - The courtroom from Ace Attorney as a hangout level! (MAPi is required)

This mod requires MAPi Hangout Menu to be enabled to work

The courtroom from Phoenix Wright: Ace Attorney as a hangout map!

You can punch near the desks to trigger the desk slam sound effect from the game, or near the judge's desk to trigger a gavel sound effect!

While you're inside this map any chat messages will trigger the talking sound effect from the games!

Cool things also happen if a message contains any...

Read more about this mod...
 
fiumals updated [MAP] Ace Attorney Courtroom with a new update entry:

EUREKA!

I was playing on this map today and noticed some things I thought I wanted to change

The BGM is now the same for everyone regardless on if you joined before or after a track started playing. (This wasn't the case before, for example, if other people were inside the map playing the "cornered" theme, if you joined afterwards you would have gotten the regular "trial" theme instead until the next time the bgm changed)


ADDED THESE CHAT EVENTS:
  • Eureka
  • Gotcha!
  • Got it...

Read the rest of this update entry...
 
fiumals updated [MAP] Ace Attorney Courtroom with a new update entry:

/courtroom

The map no longer requires MAPi to function, you can use /courtroom to get there

However it is still compatible because MAPi menu is super cool!

New chat triggers

Guilty:
triggers the guilty sound effect
Not Guilty: triggers the guilty sound effect but TWICE!!! (like not guilty instead of just guilty)

might try to add confetti at a later version? maybe

- you can now groundpound the desks to trigger the sfx unlike before

this version also fixes some...

Read the rest of this update entry...
 
Please check this lua file and see what's wrong bc when I test new stuff out, it says i have script errors. (wait, how do I send files)
 
Please check this lua file and see what's wrong bc when I test new stuff out, it says i have script errors. (wait, how do I send files)
is it very long? you could try to copy the text if it doesnt let you attach the file
 
is it very long? you could try to copy the text if it doesnt let you attach the file
ok, here it is:

-- name: Toad's Test Mod
-- description: It's just a test mod, maybe I'll turn it into something great soon! thanks to Q10isarobot, go check him out, he's the one who made the coding tutorial I followed to make this!

local CanIdosomething = false -- local boolean variable
Amountofsomething = 4 -- Global integer Variable








-- When the function is called, whatever code is inside will happen
function mario_update(m)


-- m.vel.y
-- m.vel.x
-- m.vel.z

if m.vel.y == 0 then
CanIdosomething = false


end

if (m.controller.buttonPDown & L_TRIG) then

m.numCoins = m.numCoins + Amountofsomething

end

if m.vel.y <= 25 then



end




if m.vel.y ~= 0 then
CanIdosomething = true

end


if (m.controller.buttonPressed & U_JPAD) ~= 0 and CanIdosomething = true then
play_character_sound(m, CHAR_SOUND_HELLO)

end








local addtoyspeedfloat = 25.5 -- local float point variable inside f function will only affect things of the function










end




hook_event(HOOK_MARIO_UPDATE, mario_update)
 
ok, here it is:

-- name: Toad's Test Mod
-- description: It's just a test mod, maybe I'll turn it into something great soon! thanks to Q10isarobot, go check him out, he's the one who made the coding tutorial I followed to make this!

local CanIdosomething = false -- local boolean variable
Amountofsomething = 4 -- Global integer Variable








-- When the function is called, whatever code is inside will happen
function mario_update(m)


-- m.vel.y
-- m.vel.x
-- m.vel.z

if m.vel.y == 0 then
CanIdosomething = false


end

if (m.controller.buttonPDown & L_TRIG) then

m.numCoins = m.numCoins + Amountofsomething

end

if m.vel.y <= 25 then



end




if m.vel.y ~= 0 then
CanIdosomething = true

end


if (m.controller.buttonPressed & U_JPAD) ~= 0 and CanIdosomething = true then
play_character_sound(m, CHAR_SOUND_HELLO)

end








local addtoyspeedfloat = 25.5 -- local float point variable inside f function will only affect things of the function










end




hook_event(HOOK_MARIO_UPDATE, mario_update)

if you read the code from the Q10isarobot closely there's a few mistakes here:
  • on line 28, you have "buttonPDown" instead of "buttonDown", and also you were missing a "~= 0" after that parentheses (though i dont think the ~= 0 affects much here)
  • then on line 49, you typed "CanIdosomething = true" but since this is an if statement and not assigning to a variable, you should use double equal signs like so "CanIdosomething == true"

those are the two lines i changed down here, lmk if it works


-- name: Toad's Test Mod
-- description: It's just a test mod, maybe I'll turn it into something great soon! thanks to Q10isarobot, go check him out, he's the one who made the coding tutorial I followed to make this!

local CanIdosomething = false -- local boolean variable
Amountofsomething = 4 -- Global integer Variable

-- When the function is called, whatever code is inside will happen
function mario_update(m)
-- m.vel.y
-- m.vel.x
-- m.vel.z

if m.vel.y == 0 then
CanIdosomething = false
end

if (m.controller.buttonDown & L_TRIG) ~= 0 then
m.numCoins = m.numCoins + Amountofsomething
end

if m.vel.y <= 25 then
end

if m.vel.y ~= 0 then
CanIdosomething = true
end

if (m.controller.buttonPressed & U_JPAD) ~= 0 and CanIdosomething == true then
play_character_sound(m, CHAR_SOUND_HELLO)
end

local addtoyspeedfloat = 25.5 -- local float point variable inside f function will only affect things of the function
end

hook_event(HOOK_MARIO_UPDATE, mario_update)
 
if you read the code from the Q10isarobot closely there's a few mistakes here:
  • on line 28, you have "buttonPDown" instead of "buttonDown", and also you were missing a "~= 0" after that parentheses (though i dont think the ~= 0 affects much here)
  • then on line 49, you typed "CanIdosomething = true" but since this is an if statement and not assigning to a variable, you should use double equal signs like so "CanIdosomething == true"

those are the two lines i changed down here, lmk if it works


-- name: Toad's Test Mod
-- description: It's just a test mod, maybe I'll turn it into something great soon! thanks to Q10isarobot, go check him out, he's the one who made the coding tutorial I followed to make this!

local CanIdosomething = false -- local boolean variable
Amountofsomething = 4 -- Global integer Variable

-- When the function is called, whatever code is inside will happen
function mario_update(m)
-- m.vel.y
-- m.vel.x
-- m.vel.z

if m.vel.y == 0 then
CanIdosomething = false
end

if (m.controller.buttonDown & L_TRIG) ~= 0 then
m.numCoins = m.numCoins + Amountofsomething
end

if m.vel.y <= 25 then
end

if m.vel.y ~= 0 then
CanIdosomething = true
end

if (m.controller.buttonPressed & U_JPAD) ~= 0 and CanIdosomething == true then
play_character_sound(m, CHAR_SOUND_HELLO)
end

local addtoyspeedfloat = 25.5 -- local float point variable inside f function will only affect things of the function
end

hook_event(HOOK_MARIO_UPDATE, mario_update)
ohhh, thx
Don't double post! Use that edit button! Post automatically merged:

ohhh, thx
It doesn't say script errors, but the CHAR_SOUND_HELLO after jumping isnt working
 
ohhh, thx
Don't double post! Use that edit button! Post automatically merged:


It doesn't say script errors, but the CHAR_SOUND_HELLO after jumping isnt working
it works for me, though you need to press D-Pad Up while youre in mid-air for it to make the sound
 
fiumals updated [Hangout] Ace Attorney Courtroom with a new update entry:

Objection (2004)

- added some of my personal favorite tracks from trials and tribulations! added them as sequenced music so they wouldnt affect mod file size much, trigger the songs with

"order in the court (2004)" = trial theme T&T
"objection (2004)" = objection theme T&T
"testimony (2004)" = cross examination allegro T&T
"caught" = pursuit T&T
"distant traces of beauty" = dahlia hawthorne theme
"the fragrance of dark coffee" = godot theme

- changed more weird collisions hopefully for the better

- added...

Read the rest of this update entry...
 

Users who are viewing this thread